diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx index 0662bc155187..ae83c158f2ba 100644 --- a/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx @@ -19,6 +19,7 @@ #include +#include #include #include #include @@ -97,6 +98,13 @@ void BufferedDecompositionGroupPrimitive2D::get2DDecomposition( } } +void BufferedDecompositionGroupPrimitive2D::activateFlushOnTimer() +{ + if (comphelper::IsFuzzing()) + return; + mbFlushOnTimer = true; +} + } // end of namespace drawinglayer::primitive2d /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx index f51f37c85966..491c1fe07665 100644 --- a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx @@ -19,6 +19,7 @@ #include +#include #include #include #include @@ -96,6 +97,13 @@ void BufferedDecompositionPrimitive2D::get2DDecomposition( } } +void BufferedDecompositionPrimitive2D::activateFlushOnTimer() +{ + if (comphelper::IsFuzzing()) + return; + mbFlushOnTimer = true; +} + } // end of namespace drawinglayer::primitive2d /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/drawinglayer/primitive2d/BufferedDecompositionGroupPrimitive2D.hxx b/include/drawinglayer/primitive2d/BufferedDecompositionGroupPrimitive2D.hxx index 0956dd51ac81..fd50fb20ffd1 100644 --- a/include/drawinglayer/primitive2d/BufferedDecompositionGroupPrimitive2D.hxx +++ b/include/drawinglayer/primitive2d/BufferedDecompositionGroupPrimitive2D.hxx @@ -64,7 +64,7 @@ protected: // callback mechanism to flush buffered content timer-based will be activated. // it is protected since the idea is that this gets called in the constructor // of derived classes. - void activateFlushOnTimer() { mbFlushOnTimer = true; } + void activateFlushOnTimer(); public: /// constructor/destructor. For GroupPrimitive2D we need the child parameter, too. diff --git a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx index bc24a51a5fb4..126f5dc2f8cb 100644 --- a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx +++ b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx @@ -92,7 +92,7 @@ protected: // callback mechanism to flush buffered content timer-based will be activated. // it is protected since the idea is that this gets called in the constructor // of derived classes. - void activateFlushOnTimer() { mbFlushOnTimer = true; } + void activateFlushOnTimer(); public: // constructor/destructor