[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sw/source

Ivan Timofeev timofeev.i.s at gmail.com
Wed Sep 4 01:41:46 PDT 2013


 sw/source/filter/html/css1atr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d0f56a10fbbe6e4c86248ff763f4c3806c7b387
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Tue Sep 3 18:57:42 2013 +0400

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 5a348e4..b791c6500 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);
     }
 


More information about the Libreoffice-commits mailing list