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

Andras Timar andras.timar at collabora.com
Wed May 28 05:20:11 PDT 2014


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

New commits:
commit dce116c107a7f50bef24fd23fb6e6da9efe3ed95
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