summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlannoi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlannoi.cxx')
-rw-r--r--sc/source/filter/xml/xmlannoi.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/filter/xml/xmlannoi.cxx b/sc/source/filter/xml/xmlannoi.cxx
index 42d7de994fd9..5f5216cf09d6 100644
--- a/sc/source/filter/xml/xmlannoi.cxx
+++ b/sc/source/filter/xml/xmlannoi.cxx
@@ -114,35 +114,35 @@ void ScXMLAnnotationContext::StartElement(const css::uno::Reference< css::xml::s
pShapeContext->StartElement(xAttrList);
}
-SvXMLImportContext *ScXMLAnnotationContext::CreateChildContext( sal_uInt16 nPrefix,
+SvXMLImportContextRef ScXMLAnnotationContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList )
{
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
if( XML_NAMESPACE_DC == nPrefix )
{
if( IsXMLToken( rLName, XML_CREATOR ) )
- pContext = new ScXMLContentContext(GetScImport(), nPrefix,
+ xContext = new ScXMLContentContext(GetScImport(), nPrefix,
rLName, maAuthorBuffer);
else if( IsXMLToken( rLName, XML_DATE ) )
- pContext = new ScXMLContentContext(GetScImport(), nPrefix,
+ xContext = new ScXMLContentContext(GetScImport(), nPrefix,
rLName, maCreateDateBuffer);
}
else if( XML_NAMESPACE_META == nPrefix )
{
if( IsXMLToken( rLName, XML_DATE_STRING ) )
- pContext = new ScXMLContentContext(GetScImport(), nPrefix,
+ xContext = new ScXMLContentContext(GetScImport(), nPrefix,
rLName, maCreateDateStringBuffer);
}
- if( !pContext && pShapeContext )
- pContext = pShapeContext->CreateChildContext(nPrefix, rLName, xAttrList);
+ if( !xContext && pShapeContext )
+ xContext = pShapeContext->CreateChildContext(nPrefix, rLName, xAttrList);
- if( !pContext )
- pContext = new SvXMLImportContext( GetImport(), nPrefix, rLName );
+ if (!xContext)
+ xContext = new SvXMLImportContext( GetImport(), nPrefix, rLName );
- return pContext;
+ return xContext;
}
void ScXMLAnnotationContext::Characters( const OUString& rChars )