diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-06 15:59:50 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-01-06 16:10:16 +0100 |
commit | 5ea7f28bb9f787a1650e0d126e28ffb543c2a363 (patch) | |
tree | da26bf102e850346d40d278ebcef4057e9b92d5e | |
parent | 3d7011c3c2b47aca273d7e8a26bdaeaf982d8702 (diff) |
cp#2013101510000026: fix file coruption caused by comments' doc export
Plcfbkl contains only character positions. The Plcfbkf is that one
which contains additional informations.
Change-Id: I9bd8eec5c8e64d9d757764dae51bcb866456cdc9
(cherry picked from commit 3ed870e237a0b7b95f48bfb8192fe7d5c2957a03)
-rw-r--r-- | sw/qa/extras/ww8export/data/fdo59530.doc | bin | 10240 -> 10240 bytes | |||
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 7 |
2 files changed, 0 insertions, 7 deletions
diff --git a/sw/qa/extras/ww8export/data/fdo59530.doc b/sw/qa/extras/ww8export/data/fdo59530.doc Binary files differindex 921fbca7973d..90bd4ce041b4 100644 --- a/sw/qa/extras/ww8export/data/fdo59530.doc +++ b/sw/qa/extras/ww8export/data/fdo59530.doc diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 0b5422cb8ceb..7b27efd86541 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -2238,13 +2238,6 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export& rWrt, sal_uInt8 nTTyp, } SwWW8Writer::WriteLong( *rWrt.pTableStrm, aRangeEndPos[i-1] + 1); - // Commented text ranges additional informations (Plcfbkl.aFBKF) - for ( i = 0; i < aRangeEndPos.size(); ++i ) - { - SwWW8Writer::WriteShort( *rWrt.pTableStrm, i ); // FBKF.ibkl - SwWW8Writer::WriteShort( *rWrt.pTableStrm, 0 ); // FBKF.bkc - } - nFcStart = rWrt.pTableStrm->Tell(); rFib.lcbPlcfAtnbkl = nFcStart - rFib.fcPlcfAtnbkl; |