diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2013-09-03 18:57:42 +0400 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-04 08:41:25 +0000 |
commit | 3d0f56a10fbbe6e4c86248ff763f4c3806c7b387 (patch) | |
tree | de2717822dff2aaac6856f4af3d9faf34167c0c8 /sw | |
parent | 11c465ef8205cf946b3c0810f7305fa9dd6c0bc0 (diff) |
fix html export of line spacing
regression from 84931eb8aeeb55a2570edb24f5c2d3409f9c2398
Change-Id: Ifcedcd34721a1ca162495f57ad36cfc6859ab0c4
(cherry picked from commit 3103306f4753f546f881cfc6bcdb357d4e1857d8)
Reviewed-on: https://gerrit.libreoffice.org/5791
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/css1atr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index 5a348e40d1d1..b791c6500cd2 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -2899,7 +2899,7 @@ static Writer& OutCSS1_SvxLineSpacing( Writer& rWrt, const SfxPoolItem& rHt ) rHTMLWrt.OutCSS1_UnitProperty( sCSS1_P_line_height, (long)nHeight ); else if( nPrcHeight ) { - OString sHeight(OString(nPrcHeight) + "%"); + OString sHeight(OString::number(nPrcHeight) + "%"); rHTMLWrt.OutCSS1_PropertyAscii(sCSS1_P_line_height, sHeight); } |