diff options
Diffstat (limited to 'editors/openoffice-1.1-devel/files/patch-topsection')
-rw-r--r-- | editors/openoffice-1.1-devel/files/patch-topsection | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-topsection b/editors/openoffice-1.1-devel/files/patch-topsection new file mode 100644 index 000000000000..a332718508de --- /dev/null +++ b/editors/openoffice-1.1-devel/files/patch-topsection @@ -0,0 +1,21 @@ +--- ../sw/source/filter/ww8/ww8par.cxx 9 Jul 2003 11:06:44 -0000 1.114 ++++ ../sw/source/filter/ww8/ww8par.cxx 25 Jul 2003 22:55:23 -0000 +@@ -2015,7 +2015,7 @@ + bool bStartAttr = pPlcxMan->Get(&aRes); // hole Attribut-Pos + aRes.nAktCp = rTxtPos; // Akt. Cp-Pos + +- if (aRes.nFlags & MAN_MASK_NEW_SEP) // neue Section ++ if ((aRes.nFlags & MAN_MASK_NEW_SEP) || maSectionManager.empty()) // neue Section + { + ASSERT(pPaM->GetNode()->GetTxtNode(), "Missing txtnode"); + // PageDesc erzeugen und fuellen +--- ../sw/source/filter/ww8/ww8par.hxx 30 Jun 2003 15:54:37 -0000 1.115 ++++ ../sw/source/filter/ww8/ww8par.hxx 25 Jul 2003 22:55:28 -0000 +@@ -720,6 +720,7 @@ + short GetPageLeft() const; + short GetPageRight() const; + short GetPageWidth() const; ++ bool empty() const { return maSegments.empty(); } + }; + + class wwFrameNamer |