diff options
-rw-r--r-- | drawinglayer/source/processor2d/vclprocessor2d.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index b7c3bfe00ff8..d23e5b5a908a 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -1353,12 +1353,14 @@ namespace drawinglayer if(!aRectangle.IsEmpty()) { + bool bWillReallyRender = mpOutputDevice->IsDeviceOutputNecessary(); // try to paint EPS directly without fallback visualisation - const bool bEPSPaintedDirectly(mpOutputDevice->DrawEPS( + const bool bEPSPaintedDirectly = bWillReallyRender && + mpOutputDevice->DrawEPS( aRectangle.TopLeft(), aRectangle.GetSize(), rEpsPrimitive2D.getGfxLink(), - 0)); + 0); if(!bEPSPaintedDirectly) { |