summaryrefslogtreecommitdiff
path: root/drawinglayer/inc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-03-28 10:41:57 +0100
committerJan Holesovsky <kendy@suse.cz>2013-03-28 10:42:32 +0100
commit51f50a0dee2867b0f9e3f869e5fbe14923fcef3a (patch)
treeeed1dab9bd775143a077b27ee6f65102b58433dc /drawinglayer/inc
parentbc2f2ab20a44630097250a90393b7298b82fb9ea (diff)
fdo#61789 Fix crash, pSvtGraphicStroke is allowed to be NULL.
Change-Id: Ia08e2e91354c9b4e543023c193b95e79d56e235b
Diffstat (limited to 'drawinglayer/inc')
-rw-r--r--drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
index d17476452f04..fa85105939c8 100644
--- a/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
+++ b/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
@@ -92,6 +92,9 @@ namespace drawinglayer
void impStartSvtGraphicStroke(SvtGraphicStroke* pSvtGraphicStroke);
void impEndSvtGraphicStroke(SvtGraphicStroke* pSvtGraphicStroke);
+ /// Convert the fWidth to the same space as its coordinates.
+ double getTransformedLineWidth( double fWidth ) const;
+
/// the current clipping PolyPolygon from MaskPrimitive2D
basegfx::B2DPolyPolygon maClipPolyPolygon;