[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jun 12 05:40:05 PDT 2012


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

New commits:
commit 8bee7215898d8784eb20bc43af1df3ed815288a6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jun 12 13:39:45 2012 +0100

    misuse of null-terminating requiring string ctor
    
    Change-Id: Ib77d62d6bb9070877943cd686791c9e634718c79

diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index 357119b..6ffa47d 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -2429,7 +2429,7 @@ sal_Bool WW8FormulaListBox::Import(const uno::Reference <
         {
             0x2002,0x2002,0x2002,0x2002,0x2002
         };
-        rSz = rRdr.MiserableDropDownFormHack(String(aBlank), xPropSet);
+        rSz = rRdr.MiserableDropDownFormHack(rtl::OUString(aBlank, SAL_N_ELEMENTS(aBlank)), xPropSet);
     }
 
     return sal_True;


More information about the Libreoffice-commits mailing list