diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-18 11:04:35 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-18 11:06:04 -0400 |
commit | 32391d25293935fbbf0075e3ccf68625951427f0 (patch) | |
tree | 0d2df3c61dbf36e28d1b4f36d666cc03a4e6d8f1 /sw | |
parent | 5e44328c4a2ca748e1254c008ff6d84a58601cde (diff) |
fdo#75260: Correct offset amount. Using the distance was not enough.
Change-Id: Ie27e2c0785eaf8d2106c1fd60e9da112da048f38
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 57d662d23b53..e1f37f2d948f 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2797,7 +2797,7 @@ void calcOffsetForDoubleLine( SwLineEntryMap& rLines ) for (size_t i = 0; itSet != itSetEnd; ++itSet, ++i) { SwLineEntry aLine = *itSet; - aLine.mnOffset = static_cast<SwTwips>(aLine.maAttribute.Dist()); + aLine.mnOffset = static_cast<SwTwips>(aLine.maAttribute.Prim()+aLine.maAttribute.Dist()); aLine.mbOffsetPerp = true; if (i == 0) |