kbrown / rpms / libreoffice

Forked from rpms/libreoffice 2 years ago
Clone

Blame SOURCES/0107-cp-2013101510000026-fix-file-coruption-caused-by-com.patch

f0633d
From 5ea7f28bb9f787a1650e0d126e28ffb543c2a363 Mon Sep 17 00:00:00 2001
f0633d
From: =?UTF-8?q?Zolnai=20Tam=C3=A1s?= <tamas.zolnai@collabora.com>
f0633d
Date: Mon, 6 Jan 2014 15:59:50 +0100
f0633d
Subject: [PATCH 107/109] cp#2013101510000026: fix file coruption caused by
f0633d
 comments' doc export
f0633d
f0633d
Plcfbkl contains only character positions. The Plcfbkf is that one
f0633d
which contains additional informations.
f0633d
f0633d
Change-Id: I9bd8eec5c8e64d9d757764dae51bcb866456cdc9
f0633d
(cherry picked from commit 3ed870e237a0b7b95f48bfb8192fe7d5c2957a03)
f0633d
---
f0633d
 sw/qa/extras/ww8export/data/fdo59530.doc | Bin 10240 -> 10240 bytes
f0633d
 sw/source/filter/ww8/wrtw8sty.cxx        |   7 -------
f0633d
 2 files changed, 7 deletions(-)
f0633d
f0633d
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
f0633d
index 0b5422c..7b27efd 100644
f0633d
--- a/sw/source/filter/ww8/wrtw8sty.cxx
f0633d
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
f0633d
@@ -2238,13 +2238,6 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export& rWrt, sal_uInt8 nTTyp,
f0633d
                         }
f0633d
                         SwWW8Writer::WriteLong( *rWrt.pTableStrm, aRangeEndPos[i-1] + 1);
f0633d
 
f0633d
-                        // Commented text ranges additional informations (Plcfbkl.aFBKF)
f0633d
-                        for ( i = 0; i < aRangeEndPos.size(); ++i )
f0633d
-                        {
f0633d
-                            SwWW8Writer::WriteShort( *rWrt.pTableStrm, i ); // FBKF.ibkl
f0633d
-                            SwWW8Writer::WriteShort( *rWrt.pTableStrm, 0 ); // FBKF.bkc
f0633d
-                        }
f0633d
-
f0633d
                         nFcStart = rWrt.pTableStrm->Tell();
f0633d
                         rFib.lcbPlcfAtnbkl = nFcStart - rFib.fcPlcfAtnbkl;
f0633d
 
f0633d
-- 
f0633d
1.8.4.2
f0633d