diff options
author | Michael Brauer <mib@openoffice.org> | 2000-10-12 17:09:53 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-10-12 17:09:53 +0000 |
commit | 5d215d9aac5b412c8caf307097dfd10286818406 (patch) | |
tree | db5e65d09ccad2045d8b3a87654adaab1f392381 /xmloff/source/text/XMLFootnoteBodyImportContext.cxx | |
parent | afd38b715642c11c1b7c2506dfed1b3f1abd98c1 (diff) |
create default context
Diffstat (limited to 'xmloff/source/text/XMLFootnoteBodyImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLFootnoteBodyImportContext.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx index 1a656a4fedc4..7fc639ffafac 100644 --- a/xmloff/source/text/XMLFootnoteBodyImportContext.cxx +++ b/xmloff/source/text/XMLFootnoteBodyImportContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLFootnoteBodyImportContext.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: dvo $ $Date: 2000-09-27 15:58:44 $ + * last change: $Author: mib $ $Date: 2000-10-12 18:09:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -118,8 +118,13 @@ SvXMLImportContext* XMLFootnoteBodyImportContext::CreateChildContext( const Reference<XAttributeList> & xAttrList ) { // return text context - return GetImport().GetTextImport()->CreateTextChildContext(GetImport(), + SvXMLImportContext *pContext = + GetImport().GetTextImport()->CreateTextChildContext(GetImport(), nPrefix, rLocalName, xAttrList); + if( !pContext ) + pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); + + return pContext; } |