diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-05-23 11:35:10 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-05-23 12:36:51 +0200 |
commit | dc84a2e8c68a02c585433dd22978680b79d15963 (patch) | |
tree | fe56b666b4d5fc866863d2d1f94047ba37775407 /sw | |
parent | f3ca9cc78e77dda656b5c39be928fdbb7f8babe8 (diff) |
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@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 605f753d6150..d98a04601c15 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -2426,6 +2426,8 @@ eF_ResT SwWW8ImplReader::Read_F_DBField( WW8FieldDesc* pF, OUString& 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); |