[Libreoffice-commits] .: patches/dev300

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Sun Nov 20 04:59:46 PST 2011


 patches/dev300/apply                                            |    5 -
 patches/dev300/sw-nested-positionned-tables-ww8-import-fix.diff |   47 ----------
 2 files changed, 52 deletions(-)

New commits:
commit 6715e1c1572d6b8902d841389ba9fbf162174f66
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Sun Nov 20 13:59:06 2011 +0100

    fdo#43105 related: patch does not help for the supposed testcase

diff --git a/patches/dev300/apply b/patches/dev300/apply
index ee2f3d5..37041fe 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -189,11 +189,6 @@ svx-hacky-htmlselect-control-import.diff, n#523191, noelpwer
 
 sd-slideshow-slideshowview-transformation-fix.diff, rodo
 
-# temporary fix. does no harm and gets the job done but its not
-# beautiful. Since the whole section needs to be refactored anyway decided not
-# to waste for time with this fix but to focus on the refactoring
-sw-nested-positionned-tables-ww8-import-fix.diff, n#376688, flr
-
 # FIXME dev300-m83 xmloff_dis26300_conformance.diff, n#396280, flr
 
 # FIXME: 2009-09-11: I wonder when this has been commented out, and
diff --git a/patches/dev300/sw-nested-positionned-tables-ww8-import-fix.diff b/patches/dev300/sw-nested-positionned-tables-ww8-import-fix.diff
deleted file mode 100644
index 2fe086c..0000000
--- a/patches/dev300/sw-nested-positionned-tables-ww8-import-fix.diff
+++ /dev/null
@@ -1,47 +0,0 @@
----
- sw/source/filter/ww8/ww8par.cxx |   10 ++++++++--
- 1 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par.cxx
-index 1101227..e89e330 100644
---- sw/source/filter/ww8/ww8par.cxx
-+++ sw/source/filter/ww8/ww8par.cxx
-@@ -2075,6 +2075,8 @@ bool SwWW8ImplReader::ProcessSpecial(bool &rbReSync, WW8_CP nStartCp)
-             nCellLevel = 0 != pPlcxMan->HasParaSprm(0x244B);
-     }
- 
-+ mark:
-+
-     WW8_TablePos *pTabPos=0;
-     WW8_TablePos aTabPos;
-     if (nCellLevel && !bVer67)
-@@ -2088,7 +2090,7 @@ bool SwWW8ImplReader::ProcessSpecial(bool &rbReSync, WW8_CP nStartCp)
-         if (const BYTE *pLevel = pPlcxMan->HasParaSprm(0x6649))
-             nCellLevel = *pLevel;
- 
--        bool bHasRowEnd = SearchRowEnd(pPap, nMyStartCp, nCellLevel-1);
-+        bool bHasRowEnd = SearchRowEnd(pPap, nMyStartCp, (nInTable<nCellLevel?nInTable:nCellLevel-1));
- 
-         //Bad Table, remain unchanged in level, e.g. #i19667#
-         if (!bHasRowEnd)
-@@ -2169,12 +2171,16 @@ bool SwWW8ImplReader::ProcessSpecial(bool &rbReSync, WW8_CP nStartCp)
-                                             // in Tabellen
-         while (nInTable < nCellLevel)
-         {
--            if (StartTable(nStartCp))
-+            if (StartTable(nStartCp)) {
-                 ++nInTable;
-+        }
-             else
-                 break;
- 
-             maApos.push_back(false);
-+        if (nInTable<nCellLevel)
-+           goto mark;
-+
-         }
-         // nach StartTable ist ein ReSync noetig ( eigentlich nur, falls die
-         // Tabelle ueber eine FKP-Grenze geht
--- 
-1.7.0.1
-


More information about the Libreoffice-commits mailing list