summaryrefslogtreecommitdiff
path: root/vcl/inc/headless
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-27 11:41:34 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-27 11:42:06 +0100
commitd9d82ffc6b16051f002e297109509488972a9c92 (patch)
treee4eeb46a398fd8e593d946d3f9ff5babf39fc94c /vcl/inc/headless
parent4b83c028031aa2c8a4d41198ca9af8f78ed8d8b9 (diff)
headless: cleanup degenerate clipping case to not render or warn.
Diffstat (limited to 'vcl/inc/headless')
-rw-r--r--vcl/inc/headless/svpgdi.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 007c4b55ddee..92d17c4868a5 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -66,8 +66,8 @@ private:
ClipUndoHandle( SvpSalGraphics *pGfx ) : m_rGfx( *pGfx ) {}
~ClipUndoHandle();
};
- ClipUndoHandle ensureClipFor( const basegfx::B2IRange &aRange );
- void ensureClip();
+ bool isClippedSetup( const basegfx::B2IRange &aRange, ClipUndoHandle &rUndo );
+ void ensureClip();
protected:
virtual bool drawAlphaBitmap( const SalTwoRect&, const SalBitmap& rSourceBitmap, const SalBitmap& rAlphaBitmap );