Kaydet (Commit) 7772b310 authored tarafından Luboš Luňák's avatar Luboš Luňák

MSWord uses \xb for linebreaks in DB fields (bnc#878854)

Change-Id: I9b1e4f8dc44d3f6f41e395f6e5f3c1fdeff52441
üst f98eab9f
...@@ -2413,6 +2413,8 @@ eF_ResT SwWW8ImplReader::Read_F_DBField( WW8FieldDesc* pF, OUString& rStr ) ...@@ -2413,6 +2413,8 @@ eF_ResT SwWW8ImplReader::Read_F_DBField( WW8FieldDesc* pF, OUString& rStr )
pSBase->WW8ReadString( *pStrm, aResult, pPlcxMan->GetCpOfs()+ pSBase->WW8ReadString( *pStrm, aResult, pPlcxMan->GetCpOfs()+
pF->nSRes, pF->nLRes, eTextCharSet ); pF->nSRes, pF->nLRes, eTextCharSet );
aResult = aResult.replace( '\xb', '\n' );
aFld.InitContent(aResult); aFld.InitContent(aResult);
rDoc.InsertPoolItem(*pPaM, SwFmtFld( aFld ), 0); rDoc.InsertPoolItem(*pPaM, SwFmtFld( aFld ), 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment