[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - sw/source

Andras Timar andras.timar at collabora.com
Wed May 28 05:10:15 PDT 2014


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

New commits:
commit 61c36d353e9777b3a8fb44c9fe221f0d9c93905a
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue May 27 10:11:19 2014 +0200

    build fix
    
    Change-Id: If249946cb33d984dbe9eeec3889ea80246df3a52

diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 7dba648..c479ad9 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2486,7 +2486,7 @@ eF_ResT SwWW8ImplReader::Read_F_DBField( WW8FieldDesc* pF, String& rStr )
     pSBase->WW8ReadString( *pStrm, aResult, pPlcxMan->GetCpOfs()+
                            pF->nSRes, pF->nLRes, eTextCharSet );
 
-    aResult = aResult.replace( '\xb', '\n' );
+    aResult.SearchAndReplaceAll( '\xb', '\n' );
 
     aFld.InitContent(aResult);
 


More information about the Libreoffice-commits mailing list