Blob Blame History Raw
From 5ea7f28bb9f787a1650e0d126e28ffb543c2a363 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolnai=20Tam=C3=A1s?= <tamas.zolnai@collabora.com>
Date: Mon, 6 Jan 2014 15:59:50 +0100
Subject: [PATCH 107/109] 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)
---
 sw/qa/extras/ww8export/data/fdo59530.doc | Bin 10240 -> 10240 bytes
 sw/source/filter/ww8/wrtw8sty.cxx        |   7 -------
 2 files changed, 7 deletions(-)

diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 0b5422c..7b27efd 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;
 
-- 
1.8.4.2