diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-05-23 11:35:10 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2014-05-23 11:36:09 +0200 |
commit | 7772b310aac7a098a6b7702e1f1f227bc7eda5b9 (patch) | |
tree | 2daffecd3297e11555ef325e7c316d236a6ebdd8 /sw | |
parent | f98eab9fa1d6bc78fd70d2014c8b31da556b4ef9 (diff) |
MSWord uses \xb for linebreaks in DB fields (bnc#878854)
Change-Id: I9b1e4f8dc44d3f6f41e395f6e5f3c1fdeff52441
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 5e9c930897e8..aba9ee4e59ad 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -2413,6 +2413,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); |