summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtimp.cxx
diff options
context:
space:
mode:
authorMichael Brauer <mib@openoffice.org>2000-11-17 06:37:42 +0000
committerMichael Brauer <mib@openoffice.org>2000-11-17 06:37:42 +0000
commit778f89db18a0327e44ca463a8b80189ce03f1fc7 (patch)
treec472a7dd3965f25206461bfbaea07aa5bdbbc72b /xmloff/source/text/txtimp.cxx
parentafa0cf8671ff1877a7a2187fdb3f8b1c35ee6a4b (diff)
#80360#: Tables within sections
Diffstat (limited to 'xmloff/source/text/txtimp.cxx')
-rw-r--r--xmloff/source/text/txtimp.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 57d90058adc7..34acbf28c835 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtimp.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: mib $ $Date: 2000-11-15 14:01:55 $
+ * last change: $Author: mib $ $Date: 2000-11-17 07:37:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -963,7 +963,8 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
break;
case XML_TOK_TABLE_TABLE:
if( XML_TEXT_TYPE_BODY == eType || XML_TEXT_TYPE_TEXTBOX == eType ||
- XML_TEXT_TYPE_HEADER_FOOTER == eType )
+ XML_TEXT_TYPE_SECTION == eType ||
+ XML_TEXT_TYPE_HEADER_FOOTER == eType )
pContext = CreateTableChildContext( rImport, nPrefix, rLocalName,
xAttrList );
break;
@@ -1040,7 +1041,8 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
case XML_TOK_TEXT_USER_INDEX:
case XML_TOK_TEXT_ALPHABETICAL_INDEX:
case XML_TOK_TEXT_BIBLIOGRAPHY_INDEX:
- pContext = new XMLIndexTOCContext( rImport, nPrefix, rLocalName );
+ if( XML_TEXT_TYPE_SHAPE != eType )
+ pContext = new XMLIndexTOCContext( rImport, nPrefix, rLocalName );
break;
default: