/[Apache-SVN]/incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
ViewVC logotype

Diff of /incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx	2012/01/30 13:56:49	1237656
+++ incubator/ooo/trunk/main/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx	2012/08/15 15:31:24	1373472
@@ -423,8 +423,9 @@ namespace drawinglayer
 
 				if(pLineAttribute)
 				{
-					// pre-fill fLineWidth
-					fLineWidth = pLineAttribute->getWidth();
+					// pre-fill fLineWidth #119198# Need to apply maCurrentTransformation, too (!)
+					const basegfx::B2DVector aDiscreteUnit(maCurrentTransformation * basegfx::B2DVector(pLineAttribute->getWidth(), 0.0));
+					fLineWidth = aDiscreteUnit.getLength();
 
 					// pre-fill fMiterLength
 					fMiterLength = fLineWidth;

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26