aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1-devel
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-03-15 12:49:46 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-03-15 12:49:46 +0000
commitc279c9b874a94a2f406af7ece330ca7bd8561313 (patch)
tree1dde8a35a5d420ee535e6b17359a6a7f3f339874 /editors/openoffice-1.1-devel
parentbbccccb19fca404f1149233b1c4a54f25a778e5e (diff)
downloadports-c279c9b874a94a2f406af7ece330ca7bd8561313.tar.gz
ports-c279c9b874a94a2f406af7ece330ca7bd8561313.zip
Notes
Diffstat (limited to 'editors/openoffice-1.1-devel')
-rw-r--r--editors/openoffice-1.1-devel/files/patch-topsection2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-topsection b/editors/openoffice-1.1-devel/files/patch-topsection
index a332718508de..0fd6684166b2 100644
--- a/editors/openoffice-1.1-devel/files/patch-topsection
+++ b/editors/openoffice-1.1-devel/files/patch-topsection
@@ -4,7 +4,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) && !bIgnoreText) // neue Section
+ if ((aRes.nFlags & MAN_MASK_NEW_SEP) || maSectionManager.empty()) // neue Section
{
ASSERT(pPaM->GetNode()->GetTxtNode(), "Missing txtnode");