[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.1' - sw/source
LuboÅ¡ LuÅák
l.lunak at collabora.com
Fri May 23 03:54:28 PDT 2014
sw/source/filter/ww8/ww8par5.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c93dd0b7cf4e327ee54cc97efd26461bce30a45c
Author: LuboÅ¡ LuÅák <l.lunak at collabora.com>
Date: Fri May 23 11:35:10 2014 +0200
MSWord uses \xb for linebreaks in DB fields (bnc#878854)
Change-Id: I9b1e4f8dc44d3f6f41e395f6e5f3c1fdeff52441
(cherry picked from commit d4a19c4098f4556f05666ed92a85c6138b4f769a)
Signed-off-by: Andras Timar <andras.timar at collabora.com>
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 8cfdeed..d55cb57 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2546,6 +2546,8 @@ 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' );
+
aFld.InitContent(aResult);
rDoc.InsertPoolItem(*pPaM, SwFmtFld( aFld ), 0);
More information about the Libreoffice-commits
mailing list