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

Luboš Luňák l.lunak at suse.cz
Mon May 27 06:39:40 PDT 2013


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

New commits:
commit 6a2df328ded9771e3589c4f123ab64048279690f
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Mon May 27 15:39:02 2013 +0200

    fix backport (OUString::number -> valueOf)
    
    Change-Id: I19920a19543a5dde1761711a736090e56c3254f6

diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index b0371ff..36ee09b 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -549,7 +549,7 @@ void MSWordStyles::OutputStyle( SwFmt* pFmt, sal_uInt16 nPos )
                 if (!clash)
                     break;
                 aName = aBaseName;
-                aName += OUString::number(++nSuffix);
+                aName += OUString::valueOf(sal_Int32(++nSuffix));
             }
         }
 


More information about the Libreoffice-commits mailing list