summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-18 15:02:29 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-18 15:04:25 -0400
commit335470edf00cabb47abb9d7dcc4dd3a5a0e79616 (patch)
tree0dbf323edd59b22497fc09b5e7b0932e8cf3e168
parent66acee112a3b6ac7238ac825a40d5cde00cc96eb (diff)
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
-rw-r--r--svx/source/dialog/framelink.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 1ae4b7030823..f629d9cc9548 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 );
}