diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-08-29 10:06:14 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-08 11:23:43 +0200 |
commit | 49019082c5c10be1158a6d8a43c10f4be2eb3642 (patch) | |
tree | 493a9fffdbbe4e8cd24edb6e9e9eeb23c9f5c1a8 /sw | |
parent | bf98269524920077547e1b85aac1d593fc49fd16 (diff) |
Use the equivalent GetScaledWidth()
Change-Id: I621f9ad1a7f1aa47450da86d3462daec4e8fe124
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 9930a82616f3..c107939e8a96 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -2111,9 +2111,7 @@ Writer& OutHTML_SwTxtNode( Writer& rWrt, const SwCntntNode& rNode ) const editeng::SvxBorderLine* pBorderLine = pBoxItem->GetBottom(); if( pBorderLine ) { - sal_uInt16 nWidth = pBorderLine->GetOutWidth() + - pBorderLine->GetInWidth() + - pBorderLine->GetDistance(); + sal_uInt16 nWidth = pBorderLine->GetScaledWidth(); sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_size) .append('='); rWrt.Strm() << sOut.makeStringAndClear().getStr(); |