Kaydet (Commit) f650b3a5 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

More places where we can suppress output.

Change-Id: Ib316bf40bb9b9afeb5fbdf9281f2d3b9539e346f
üst 617dddda
......@@ -2064,8 +2064,8 @@ void OutputDevice::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rB2DPolyPoly
void OutputDevice::ImpDrawPolyPolygonWithB2DPolyPolygon(const basegfx::B2DPolyPolygon& rB2DPolyPoly)
{
// AW: Do NOT paint empty PolyPolygons
if(!rB2DPolyPoly.count())
// Do not paint empty PolyPolygons
if(!rB2DPolyPoly.count() || !IsDeviceOutputNecessary())
return;
// we need a graphics
......@@ -2192,9 +2192,8 @@ void OutputDevice::DrawPolyLine(
mpMetaFile->AddAction( new MetaPolyLineAction( aToolsPolygon, aLineInfo ) );
}
// AW: Do NOT paint empty PolyPolygons
if(!rB2DPolygon.count())
// Do not paint empty PolyPolygons
if(!rB2DPolygon.count() || !IsDeviceOutputNecessary())
return;
// we need a graphics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment