summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r--xmloff/source/draw/shapeimport.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index e7f9f61c5858..cc541900fcb9 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -628,19 +628,19 @@ SvXMLShapeContext* XMLShapeImportHelper::CreateFrameChildContext(
return pContext;
}
-SvXMLImportContext *XMLShapeImportHelper::CreateFrameChildContext(
+SvXMLImportContextRef XMLShapeImportHelper::CreateFrameChildContext(
SvXMLImportContext *pThisContext,
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList>& xAttrList )
{
- SvXMLImportContext * pContext = nullptr;
+ SvXMLImportContextRef xContext;
SdXMLFrameShapeContext *pFrameContext = dynamic_cast<SdXMLFrameShapeContext*>( pThisContext );
- if( pFrameContext )
- pContext = pFrameContext->CreateChildContext( nPrefix, rLocalName, xAttrList );
+ if (pFrameContext)
+ xContext = pFrameContext->CreateChildContext( nPrefix, rLocalName, xAttrList );
- return pContext;
+ return xContext;
}
/** this function is called whenever the implementation classes like to add this new