[Libreoffice-commits] core.git: svx/source

Kohei Yoshida kohei.yoshida at collabora.com
Tue Mar 18 12:06:08 PDT 2014


 svx/source/dialog/framelink.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 335470edf00cabb47abb9d7dcc4dd3a5a0e79616
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Mar 18 15:02:29 2014 -0400

    When the scale is set explicitly, we should use it as the pattern scale.
    
    Else it would break Calc's patterned line drawing.
    
    Change-Id: I3d9b1634202f8d124363ab4a96f14e68ea312ab2

diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 1ae4b70..f629d9c 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -1156,7 +1156,7 @@ Style::Style( const Color& rColorPrim, const Color& rColorSecn, const Color& rCo
 
 Style::Style( const editeng::SvxBorderLine* pBorder, double fScale, sal_uInt16 nMaxWidth ) :
     meRefMode(REFMODE_CENTERED),
-    mfPatternScale(1.0)
+    mfPatternScale(fScale)
 {
     Set( pBorder, fScale, nMaxWidth );
 }


More information about the Libreoffice-commits mailing list