summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/XMLShapePropertySetContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/XMLShapePropertySetContext.cxx')
-rw-r--r--xmloff/source/draw/XMLShapePropertySetContext.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/draw/XMLShapePropertySetContext.cxx b/xmloff/source/draw/XMLShapePropertySetContext.cxx
index ef0453f802dc..072a5c9a9c89 100644
--- a/xmloff/source/draw/XMLShapePropertySetContext.cxx
+++ b/xmloff/source/draw/XMLShapePropertySetContext.cxx
@@ -63,34 +63,34 @@ void XMLShapePropertySetContext::EndElement()
SvXMLPropertySetContext::EndElement();
}
-SvXMLImportContext *XMLShapePropertySetContext::CreateChildContext(
+SvXMLImportContextRef XMLShapePropertySetContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList,
::std::vector< XMLPropertyState > &rProperties,
const XMLPropertyState& rProp )
{
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
switch( mxMapper->getPropertySetMapper()->GetEntryContextId( rProp.mnIndex ) )
{
case CTF_NUMBERINGRULES:
mnBulletIndex = rProp.mnIndex;
- mxBulletStyle = pContext = new SvxXMLListStyleContext( GetImport(), nPrefix, rLocalName, xAttrList );
+ mxBulletStyle = xContext = new SvxXMLListStyleContext( GetImport(), nPrefix, rLocalName, xAttrList );
break;
case CTF_TABSTOP:
- pContext = new SvxXMLTabStopImportContext( GetImport(), nPrefix,
+ xContext = new SvxXMLTabStopImportContext( GetImport(), nPrefix,
rLocalName, rProp,
rProperties );
break;
}
- if( !pContext )
- pContext = SvXMLPropertySetContext::CreateChildContext( nPrefix, rLocalName,
+ if (!xContext)
+ xContext = SvXMLPropertySetContext::CreateChildContext( nPrefix, rLocalName,
xAttrList,
rProperties, rProp );
- return pContext;
+ return xContext;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */