diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-08-05 21:09:30 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-08-12 10:30:01 +0200 |
commit | 13c81d8741c57da9111f9f42061d5c62b94667c9 (patch) | |
tree | 3ef71feb4dd3ccb99f13c9a6e13f79a16184f0bb /sw | |
parent | 66f3b17013c467b9e0a74497738c90173b7e7b4f (diff) |
fix vertical text border
Change-Id: Ifd75056e310a47960e587b0771b55fe08bfe6f42
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 3405c1d9cbd1..a2869bc580fd 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -4818,7 +4818,7 @@ void PaintCharacterBorder( aAlignedRect.Left(), aAlignedRect.Top()); Point aRightBottom ( - aAlignedRect.Left() + rFont.GetLeftBorder().get().GetScaledWidth(), + aAlignedRect.Left() + aLeftBorder.get().GetScaledWidth(), aAlignedRect.Bottom()); lcl_MakeBorderLine( @@ -4832,7 +4832,7 @@ void PaintCharacterBorder( if( aRightBorder ) { Point aLeftTop ( - aAlignedRect.Right() - rFont.GetRightBorder().get().GetScaledWidth(), + aAlignedRect.Right() - aRightBorder.get().GetScaledWidth(), aAlignedRect.Top()); Point aRightBottom ( aAlignedRect.Right(), |