summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtsecte.cxx
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-01-25 10:33:41 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-01-25 10:33:41 +0000
commit154a9851c97825b7d6a7ec777f7331c6a872e625 (patch)
tree94860c24c15088e70afa9c0126ef988e2dde5d73 /xmloff/source/text/txtsecte.cxx
parentb97e30b8b12bb6b97b84dd922842a87ec1f4422b (diff)
- fixed: do not export redlines in block mode
Diffstat (limited to 'xmloff/source/text/txtsecte.cxx')
-rw-r--r--xmloff/source/text/txtsecte.cxx17
1 files changed, 10 insertions, 7 deletions
diff --git a/xmloff/source/text/txtsecte.cxx b/xmloff/source/text/txtsecte.cxx
index 845e38038852..9cd3fcb75cf4 100644
--- a/xmloff/source/text/txtsecte.cxx
+++ b/xmloff/source/text/txtsecte.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtsecte.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dvo $ $Date: 2001-01-19 19:19:50 $
+ * last change: $Author: dvo $ $Date: 2001-01-25 11:33:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -285,16 +285,18 @@ void XMLTextParagraphExport::exportListAndSectionChange(
while ((aOldForward != aOldStack.end()) &&
(*aOldForward != *aOld))
{
- pRedlineExport->ExportStartOrEndRedline(*aOldForward,
- sal_False);
+ if (NULL != pRedlineExport)
+ pRedlineExport->ExportStartOrEndRedline(*aOldForward,
+ sal_False);
pSectionExport->ExportSectionEnd(*aOldForward,
bAutoStyles);
aOldForward++;
}
if (aOldForward != aOldStack.end())
{
- pRedlineExport->ExportStartOrEndRedline(*aOldForward,
- sal_False);
+ if (NULL != pRedlineExport)
+ pRedlineExport->ExportStartOrEndRedline(*aOldForward,
+ sal_False);
pSectionExport->ExportSectionEnd(*aOldForward,
bAutoStyles);
}
@@ -304,7 +306,8 @@ void XMLTextParagraphExport::exportListAndSectionChange(
// (order: oldest to newest)
while (aNew != aNewStack.rend())
{
- pRedlineExport->ExportStartOrEndRedline(*aNew, sal_True);
+ if (NULL != pRedlineExport)
+ pRedlineExport->ExportStartOrEndRedline(*aNew, sal_True);
pSectionExport->ExportSectionStart(*aNew, bAutoStyles);
aNew++;
}