summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximpnote.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/xmloff/source/draw/ximpnote.cxx b/xmloff/source/draw/ximpnote.cxx
index 7f82c1f51173..23272f3e6730 100644
--- a/xmloff/source/draw/ximpnote.cxx
+++ b/xmloff/source/draw/ximpnote.cxx
@@ -96,17 +96,8 @@ SvXMLImportContext *SdXMLNotesContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList>& xAttrList )
{
- // OK, notes page is set on base class, objects can be imported on notes page
- SvXMLImportContext *pContext = nullptr;
-
- // some special objects inside presentation:notes context
-
-
- // call parent when no own context was created
- if(!pContext)
- pContext = SdXMLGenericPageContext::CreateChildContext(nPrefix, rLocalName, xAttrList);
-
- return pContext;
+ // no own context in notes, call parent
+ return SdXMLGenericPageContext::CreateChildContext(nPrefix, rLocalName, xAttrList);
}
void SdXMLNotesContext::EndElement()