diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2001-05-31 15:11:06 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2001-05-31 15:11:06 +0000 |
commit | adad88395b41c9d360a1c804387a5db673c8fb33 (patch) | |
tree | 308185c100a43cd1f27da32efde228e035dda1f1 /xmloff/source/text/XMLIndexBodyContext.cxx | |
parent | 4c711653274e77fcc632733184c2cb638a8c83a0 (diff) |
#87699#
- allow empty indices to be imported
- don't export empty indices in global documents
Diffstat (limited to 'xmloff/source/text/XMLIndexBodyContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexBodyContext.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLIndexBodyContext.cxx b/xmloff/source/text/XMLIndexBodyContext.cxx index f5a200d6f9e2..f0af07a3932e 100644 --- a/xmloff/source/text/XMLIndexBodyContext.cxx +++ b/xmloff/source/text/XMLIndexBodyContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLIndexBodyContext.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: dvo $ $Date: 2000-11-30 16:46:20 $ + * last change: $Author: dvo $ $Date: 2001-05-31 16:11:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,8 @@ XMLIndexBodyContext::XMLIndexBodyContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const ::rtl::OUString& rLocalName ) : - SvXMLImportContext(rImport, nPrfx, rLocalName) + SvXMLImportContext(rImport, nPrfx, rLocalName), + bHasContent(sal_False) { } @@ -121,6 +122,8 @@ SvXMLImportContext* XMLIndexBodyContext::CreateChildContext( { pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); } + else + bHasContent = sal_True; return pContext; } |