diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-11 16:45:41 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-15 18:45:57 +0200 |
commit | 922e4ba2994c914a8b393723fbee28529abd8a6b (patch) | |
tree | e1d09f80fa9e12bb48fe68acd438f539b851513f /sw | |
parent | 1ae3638dbf82239ab3e64cbbc8ab34394a3fa1e2 (diff) |
Use the shorter GetScaledWidth() method
Change-Id: Id3ad483d3830310b8d13c86e407ff88d9a709464
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmlithlp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlithlp.cxx b/sw/source/filter/xml/xmlithlp.cxx index 10627afe22e8..259d2fe02b34 100644 --- a/sw/source/filter/xml/xmlithlp.cxx +++ b/sw/source/filter/xml/xmlithlp.cxx @@ -204,8 +204,7 @@ bool sw_frmitems_setXMLBorder( SvxBorderLine*& rpLine, else { if (!bHasWidth) - nWidth = rpLine->GetInWidth() + rpLine->GetDistance() + - rpLine->GetOutWidth(); + nWidth = rpLine->GetScaledWidth(); rpLine->SetWidth( nWidth ); } |