summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLChangeImportContext.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-10-10 14:51:26 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-10-10 14:51:26 +0000
commit544a3dd1f87aaa14be145963eb70a5d022c68e8c (patch)
tree7b562a3b09f6cada9f785f7ecbc5089cfbb5a1e6 /xmloff/source/text/XMLChangeImportContext.cxx
parentcc70f62fb83f2d79a362ba79f8271c1233767b45 (diff)
#92945# Fixed redline import
(Previously, the Redline Cursor adjustment for redlines outside of paragraphs was also triggered in cases where it shouldn't.)
Diffstat (limited to 'xmloff/source/text/XMLChangeImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLChangeImportContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLChangeImportContext.cxx b/xmloff/source/text/XMLChangeImportContext.cxx
index 0159dbd70320..f7fe7f6ddbcf 100644
--- a/xmloff/source/text/XMLChangeImportContext.cxx
+++ b/xmloff/source/text/XMLChangeImportContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLChangeImportContext.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:21 $
+ * last change: $Author: dvo $ $Date: 2001-10-10 15:51:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -144,7 +144,7 @@ void XMLChangeImportContext::StartElement(
// outside of paragraph and still open? set open redline ID
if (bIsStart)
{
- if (bIsOutsideOfParagraph || !bIsEnd)
+ if (bIsOutsideOfParagraph && !bIsEnd)
rHelper->SetOpenRedlineId(rID);
else
rHelper->ResetOpenRedlineId();