svx/source/dialog/framelink.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 335470edf00cabb47abb9d7dcc4dd3a5a0e79616 Author: Kohei Yoshida <kohei.yosh...@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 ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits