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

Andras Timar andras.timar at collabora.com
Tue May 27 01:11:45 PDT 2014


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

New commits:
commit f58522d989b17552f739c1fe63fe5ba483c662e3
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 d55cb57..1c40271 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2546,7 +2546,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