summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/paintfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/paintfrm.cxx')
-rw-r--r--sw/source/core/layout/paintfrm.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 3e4ed878126d..3098638ab1ff 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -5080,7 +5080,8 @@ void PaintCharacterBorder(
if( aBottomBorder )
{
- aBottomBorder->SetMirrorWidths(true);
+ if( aBottomBorder->isDouble() )
+ aBottomBorder->SetMirrorWidths(true);
Point aLeftTop(
aAlignedRect.Left(),
@@ -5118,7 +5119,8 @@ void PaintCharacterBorder(
if( aRightBorder )
{
- aRightBorder->SetMirrorWidths(true);
+ if( aRightBorder->isDouble() )
+ aRightBorder->SetMirrorWidths(true);
Point aLeftTop(
aAlignedRect.Right() - aRightBorder.get().GetScaledWidth(),