summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/FillStyleContext.cxx2
-rw-r--r--xmloff/source/style/FillStyleContext.hxx2
-rw-r--r--xmloff/source/style/PageHeaderFooterContext.cxx12
-rw-r--r--xmloff/source/style/PageHeaderFooterContext.hxx2
-rw-r--r--xmloff/source/style/PageMasterImportContext.cxx2
-rw-r--r--xmloff/source/style/PagePropertySetContext.cxx16
-rw-r--r--xmloff/source/style/PagePropertySetContext.hxx2
-rw-r--r--xmloff/source/style/XMLBackgroundImageContext.cxx2
-rw-r--r--xmloff/source/style/XMLFontStylesContext.cxx6
-rw-r--r--xmloff/source/style/XMLFontStylesContext_impl.hxx6
-rw-r--r--xmloff/source/style/prstylei.cxx12
-rw-r--r--xmloff/source/style/xmlnumfi.cxx18
-rw-r--r--xmloff/source/style/xmlnumi.cxx18
-rw-r--r--xmloff/source/style/xmlprcon.cxx4
-rw-r--r--xmloff/source/style/xmlstyle.cxx4
-rw-r--r--xmloff/source/style/xmltabi.cxx6
16 files changed, 57 insertions, 57 deletions
diff --git a/xmloff/source/style/FillStyleContext.cxx b/xmloff/source/style/FillStyleContext.cxx
index 1c02a68e77b0..13c20eed836a 100644
--- a/xmloff/source/style/FillStyleContext.cxx
+++ b/xmloff/source/style/FillStyleContext.cxx
@@ -133,7 +133,7 @@ XMLBitmapStyleContext::~XMLBitmapStyleContext()
{
}
-SvXMLImportContext* XMLBitmapStyleContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList )
+SvXMLImportContextRef XMLBitmapStyleContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList )
{
SvXMLImportContext *pContext = nullptr;
if( (XML_NAMESPACE_OFFICE == nPrefix) && xmloff::token::IsXMLToken( rLocalName, xmloff::token::XML_BINARY_DATA ) )
diff --git a/xmloff/source/style/FillStyleContext.hxx b/xmloff/source/style/FillStyleContext.hxx
index 7d0b90f5c39a..d351f619de68 100644
--- a/xmloff/source/style/FillStyleContext.hxx
+++ b/xmloff/source/style/FillStyleContext.hxx
@@ -77,7 +77,7 @@ public:
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList );
virtual ~XMLBitmapStyleContext() override;
- virtual SvXMLImportContext *CreateChildContext(
+ virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override;
diff --git a/xmloff/source/style/PageHeaderFooterContext.cxx b/xmloff/source/style/PageHeaderFooterContext.cxx
index 45309e0691f9..9689f649b8eb 100644
--- a/xmloff/source/style/PageHeaderFooterContext.cxx
+++ b/xmloff/source/style/PageHeaderFooterContext.cxx
@@ -48,28 +48,28 @@ PageHeaderFooterContext::~PageHeaderFooterContext()
{
}
-SvXMLImportContext *PageHeaderFooterContext::CreateChildContext( sal_uInt16 nPrefix,
+SvXMLImportContextRef PageHeaderFooterContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList )
{
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
if( XML_NAMESPACE_STYLE == nPrefix && IsXMLToken( rLName, XML_HEADER_FOOTER_PROPERTIES ) )
{
PageContextType aType = Header;
if (!bHeader)
aType = Footer;
- pContext = new PagePropertySetContext( GetImport(), nPrefix,
+ xContext = new PagePropertySetContext( GetImport(), nPrefix,
rLName, xAttrList,
XML_TYPE_PROP_HEADER_FOOTER,
rProperties,
rMap, nStartIndex, nEndIndex, aType);
}
- if( !pContext )
- pContext = new SvXMLImportContext( GetImport(), nPrefix, rLName );
+ if (!xContext)
+ xContext = new SvXMLImportContext( GetImport(), nPrefix, rLName );
- return pContext;
+ return xContext;
}
void PageHeaderFooterContext::EndElement()
diff --git a/xmloff/source/style/PageHeaderFooterContext.hxx b/xmloff/source/style/PageHeaderFooterContext.hxx
index b955fbbb1467..fb3e034a6416 100644
--- a/xmloff/source/style/PageHeaderFooterContext.hxx
+++ b/xmloff/source/style/PageHeaderFooterContext.hxx
@@ -41,7 +41,7 @@ public:
virtual ~PageHeaderFooterContext() override;
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xml::sax::XAttributeList>& xAttrList ) override;
diff --git a/xmloff/source/style/PageMasterImportContext.cxx b/xmloff/source/style/PageMasterImportContext.cxx
index 7d79145893e3..a4dbacece337 100644
--- a/xmloff/source/style/PageMasterImportContext.cxx
+++ b/xmloff/source/style/PageMasterImportContext.cxx
@@ -73,7 +73,7 @@ PageStyleContext::~PageStyleContext()
{
}
-SvXMLImportContext *PageStyleContext::CreateChildContext(
+SvXMLImportContextRef PageStyleContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList )
diff --git a/xmloff/source/style/PagePropertySetContext.cxx b/xmloff/source/style/PagePropertySetContext.cxx
index a225f298dbd8..160ec5b2d8ff 100644
--- a/xmloff/source/style/PagePropertySetContext.cxx
+++ b/xmloff/source/style/PagePropertySetContext.cxx
@@ -47,7 +47,7 @@ PagePropertySetContext::~PagePropertySetContext()
{
}
-SvXMLImportContext *PagePropertySetContext::CreateChildContext(
+SvXMLImportContextRef PagePropertySetContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList,
@@ -73,7 +73,7 @@ SvXMLImportContext *PagePropertySetContext::CreateChildContext(
default:
break;
}
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
switch( mxMapper->getPropertySetMapper()
->GetEntryContextId( rProp.mnIndex ) )
@@ -87,7 +87,7 @@ SvXMLImportContext *PagePropertySetContext::CreateChildContext(
nFil == mxMapper->getPropertySetMapper()
->GetEntryContextId( rProp.mnIndex-1 ),
"invalid property map!");
- pContext =
+ xContext =
new XMLBackgroundImageContext( GetImport(), nPrefix,
rLocalName, xAttrList,
rProp,
@@ -99,24 +99,24 @@ SvXMLImportContext *PagePropertySetContext::CreateChildContext(
break;
case CTF_PM_TEXTCOLUMNS:
- pContext = new XMLTextColumnsContext( GetImport(), nPrefix,
+ xContext = new XMLTextColumnsContext( GetImport(), nPrefix,
rLocalName, xAttrList, rProp,
rProperties );
break;
case CTF_PM_FTN_LINE_WEIGHT:
- pContext = new XMLFootnoteSeparatorImport(
+ xContext = new XMLFootnoteSeparatorImport(
GetImport(), nPrefix, rLocalName, rProperties,
mxMapper->getPropertySetMapper(), rProp.mnIndex);
break;
}
- if( !pContext )
- pContext = SvXMLPropertySetContext::CreateChildContext( nPrefix, rLocalName,
+ if (!xContext)
+ xContext = SvXMLPropertySetContext::CreateChildContext( nPrefix, rLocalName,
xAttrList,
rProperties, rProp );
- return pContext;
+ return xContext;
}
diff --git a/xmloff/source/style/PagePropertySetContext.hxx b/xmloff/source/style/PagePropertySetContext.hxx
index 3f82d6b99389..31b4d7341300 100644
--- a/xmloff/source/style/PagePropertySetContext.hxx
+++ b/xmloff/source/style/PagePropertySetContext.hxx
@@ -46,7 +46,7 @@ public:
virtual ~PagePropertySetContext() override;
using SvXMLPropertySetContext::CreateChildContext;
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList,
::std::vector< XMLPropertyState > &rProperties,
diff --git a/xmloff/source/style/XMLBackgroundImageContext.cxx b/xmloff/source/style/XMLBackgroundImageContext.cxx
index e9981daed89e..dc5de6953e68 100644
--- a/xmloff/source/style/XMLBackgroundImageContext.cxx
+++ b/xmloff/source/style/XMLBackgroundImageContext.cxx
@@ -344,7 +344,7 @@ XMLBackgroundImageContext::~XMLBackgroundImageContext()
{
}
-SvXMLImportContext *XMLBackgroundImageContext::CreateChildContext(
+SvXMLImportContextRef XMLBackgroundImageContext::CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList )
{
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx
index f63d70769668..d2d08f0973b8 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -172,7 +172,7 @@ void XMLFontStyleContextFontFace::FillProperties(
}
}
-SvXMLImportContext * XMLFontStyleContextFontFace::CreateChildContext(
+SvXMLImportContextRef XMLFontStyleContextFontFace::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList )
@@ -217,7 +217,7 @@ XMLFontStyleContextFontFaceSrc::XMLFontStyleContextFontFaceSrc( SvXMLImport& rIm
{
}
-SvXMLImportContext * XMLFontStyleContextFontFaceSrc::CreateChildContext(
+SvXMLImportContextRef XMLFontStyleContextFontFaceSrc::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList )
@@ -237,7 +237,7 @@ XMLFontStyleContextFontFaceUri::XMLFontStyleContextFontFaceUri( SvXMLImport& rIm
{
}
-SvXMLImportContext * XMLFontStyleContextFontFaceUri::CreateChildContext(
+SvXMLImportContextRef XMLFontStyleContextFontFaceUri::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList )
diff --git a/xmloff/source/style/XMLFontStylesContext_impl.hxx b/xmloff/source/style/XMLFontStylesContext_impl.hxx
index ef387927681c..e1baa2dd1ed0 100644
--- a/xmloff/source/style/XMLFontStylesContext_impl.hxx
+++ b/xmloff/source/style/XMLFontStylesContext_impl.hxx
@@ -64,7 +64,7 @@ public:
OUString familyName() const;
- SvXMLImportContext * CreateChildContext(
+ SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override;
@@ -81,7 +81,7 @@ public:
const OUString& rLName,
const XMLFontStyleContextFontFace& font );
- virtual SvXMLImportContext * CreateChildContext(
+ virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override;
@@ -111,7 +111,7 @@ public:
const OUString& rValue ) override;
void SetFormat( const OUString& rFormat );
void EndElement() override;
- SvXMLImportContext * CreateChildContext(
+ SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override;
diff --git a/xmloff/source/style/prstylei.cxx b/xmloff/source/style/prstylei.cxx
index 97a6c7861728..51b3578029af 100644
--- a/xmloff/source/style/prstylei.cxx
+++ b/xmloff/source/style/prstylei.cxx
@@ -172,12 +172,12 @@ const OldFillStyleDefinitionSet& XMLPropStyleContext::getFooterSet()
return theFooterSet::get();
}
-SvXMLImportContext *XMLPropStyleContext::CreateChildContext(
+SvXMLImportContextRef XMLPropStyleContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const Reference< XAttributeList > & xAttrList )
{
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
sal_uInt32 nFamily = 0;
if( XML_NAMESPACE_STYLE == nPrefix || XML_NAMESPACE_LO_EXT == nPrefix )
@@ -211,18 +211,18 @@ SvXMLImportContext *XMLPropStyleContext::CreateChildContext(
static_cast<SvXMLStylesContext *>(mxStyles.get())->GetImportPropertyMapper(
GetFamily() );
if( xImpPrMap.is() )
- pContext = new SvXMLPropertySetContext( GetImport(), nPrefix,
+ xContext = new SvXMLPropertySetContext( GetImport(), nPrefix,
rLocalName, xAttrList,
nFamily,
maProperties,
xImpPrMap );
}
- if( !pContext )
- pContext = SvXMLStyleContext::CreateChildContext( nPrefix, rLocalName,
+ if (!xContext)
+ xContext = SvXMLStyleContext::CreateChildContext( nPrefix, rLocalName,
xAttrList );
- return pContext;
+ return xContext;
}
void XMLPropStyleContext::FillPropertySet(
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index 4d5b7c93d7a3..895db57dfecf 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -140,7 +140,7 @@ public:
SvXMLNumFormatContext& rParentContext, sal_uInt16 nNewType,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList );
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void Characters( const OUString& rChars ) override;
@@ -161,7 +161,7 @@ public:
SvXMLNumFmtElementContext& rParentContext,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList );
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void Characters( const OUString& rChars ) override;
@@ -180,7 +180,7 @@ public:
SvXMLNumFormatContext& rParentContext,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList );
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void Characters( const OUString& rChars ) override;
@@ -199,7 +199,7 @@ public:
SvXMLNumFormatContext& rParentContext,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList );
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override;
virtual void Characters( const OUString& rChars ) override;
@@ -617,7 +617,7 @@ SvXMLNumFmtMapContext::SvXMLNumFmtMapContext( SvXMLImport& rImport,
}
}
-SvXMLImportContext* SvXMLNumFmtMapContext::CreateChildContext(
+SvXMLImportContextRef SvXMLNumFmtMapContext::CreateChildContext(
sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& )
{
@@ -661,7 +661,7 @@ SvXMLNumFmtPropContext::SvXMLNumFmtPropContext( SvXMLImport& rImport,
}
}
-SvXMLImportContext* SvXMLNumFmtPropContext::CreateChildContext(
+SvXMLImportContextRef SvXMLNumFmtPropContext::CreateChildContext(
sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& )
{
@@ -708,7 +708,7 @@ SvXMLNumFmtEmbeddedTextContext::SvXMLNumFmtEmbeddedTextContext( SvXMLImport& rIm
}
}
-SvXMLImportContext* SvXMLNumFmtEmbeddedTextContext::CreateChildContext(
+SvXMLImportContextRef SvXMLNumFmtEmbeddedTextContext::CreateChildContext(
sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& )
{
@@ -1073,7 +1073,7 @@ SvXMLNumFmtElementContext::SvXMLNumFmtElementContext( SvXMLImport& rImport,
aNumInfo.aIntegerFractionDelimiter = " ";
}
-SvXMLImportContext* SvXMLNumFmtElementContext::CreateChildContext(
+SvXMLImportContextRef SvXMLNumFmtElementContext::CreateChildContext(
sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& xAttrList )
{
@@ -1529,7 +1529,7 @@ SvXMLNumFormatContext::~SvXMLNumFormatContext()
{
}
-SvXMLImportContext* SvXMLNumFormatContext::CreateChildContext(
+SvXMLImportContextRef SvXMLNumFormatContext::CreateChildContext(
sal_uInt16 nPrfx, const OUString& rLName,
const uno::Reference<xml::sax::XAttributeList>& xAttrList )
{
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx
index eef7317cd281..aad99be527c1 100644
--- a/xmloff/source/style/xmlnumi.cxx
+++ b/xmloff/source/style/xmlnumi.cxx
@@ -79,7 +79,7 @@ public:
const Reference< xml::sax::XAttributeList >& xAttrList,
SvxXMLListLevelStyleContext_Impl& rLLevel );
- virtual SvXMLImportContext *CreateChildContext(
+ virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList ) override;
};
@@ -214,7 +214,7 @@ public:
const OUString& rLName,
const Reference< xml::sax::XAttributeList > & xAttrList );
- virtual SvXMLImportContext *CreateChildContext(
+ virtual SvXMLImportContextRef CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList ) override;
@@ -358,7 +358,7 @@ SvxXMLListLevelStyleContext_Impl::SvxXMLListLevelStyleContext_Impl(
}
}
-SvXMLImportContext *SvxXMLListLevelStyleContext_Impl::CreateChildContext(
+SvXMLImportContextRef SvxXMLListLevelStyleContext_Impl::CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList )
{
@@ -887,7 +887,7 @@ SvxXMLListLevelStyleAttrContext_Impl::SvxXMLListLevelStyleAttrContext_Impl(
rListLevel.SetImageVertOrient( eVertOrient );
}
-SvXMLImportContext* SvxXMLListLevelStyleAttrContext_Impl::CreateChildContext(
+SvXMLImportContextRef SvxXMLListLevelStyleAttrContext_Impl::CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList )
{
@@ -1014,12 +1014,12 @@ SvxXMLListStyleContext::SvxXMLListStyleContext( SvXMLImport& rImport,
SvxXMLListStyleContext::~SvxXMLListStyleContext() {}
-SvXMLImportContext *SvxXMLListStyleContext::CreateChildContext(
+SvXMLImportContextRef SvxXMLListStyleContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList )
{
- SvXMLImportContext *pContext = nullptr;
+ SvXMLImportContextRef xContext;
if( XML_NAMESPACE_TEXT == nPrefix &&
( bOutline
@@ -1035,14 +1035,14 @@ SvXMLImportContext *SvxXMLListStyleContext::CreateChildContext(
pLevelStyles = o3tl::make_unique<SvxXMLListStyle_Impl>();
pLevelStyles->push_back( xLevelStyle );
- pContext = xLevelStyle.get();
+ xContext = xLevelStyle.get();
}
else
{
- pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
+ xContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
}
- return pContext;
+ return xContext;
}
void SvxXMLListStyleContext::FillUnoNumRule(
diff --git a/xmloff/source/style/xmlprcon.cxx b/xmloff/source/style/xmlprcon.cxx
index b96bec798b6c..a3e347da1292 100644
--- a/xmloff/source/style/xmlprcon.cxx
+++ b/xmloff/source/style/xmlprcon.cxx
@@ -50,7 +50,7 @@ SvXMLPropertySetContext::~SvXMLPropertySetContext()
{
}
-SvXMLImportContext *SvXMLPropertySetContext::CreateChildContext(
+SvXMLImportContextRef SvXMLPropertySetContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& xAttrList )
@@ -78,7 +78,7 @@ SvXMLImportContext *SvXMLPropertySetContext::CreateChildContext(
CreateChildContext if the element matches an entry in the
SvXMLImportItemMapper with the mid flag MID_FLAG_ELEMENT
*/
-SvXMLImportContext *SvXMLPropertySetContext::CreateChildContext(
+SvXMLImportContextRef SvXMLPropertySetContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >&,
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index d51efb52b36f..cf782521ebed 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -148,7 +148,7 @@ SvXMLStyleContext::~SvXMLStyleContext()
{
}
-SvXMLImportContext *SvXMLStyleContext::CreateChildContext( sal_uInt16 nPrefix,
+SvXMLImportContextRef SvXMLStyleContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & )
{
@@ -755,7 +755,7 @@ SvXMLStylesContext::~SvXMLStylesContext()
{
}
-SvXMLImportContext *SvXMLStylesContext::CreateChildContext( sal_uInt16 nPrefix,
+SvXMLImportContextRef SvXMLStylesContext::CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList )
{
diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx
index b7efacba6027..5efaf5eb6b03 100644
--- a/xmloff/source/style/xmltabi.cxx
+++ b/xmloff/source/style/xmltabi.cxx
@@ -65,7 +65,7 @@ public:
const OUString& rLName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList );
- virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
+ virtual SvXMLImportContextRef CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList ) override;
@@ -152,7 +152,7 @@ SvxXMLTabStopContext_Impl::SvxXMLTabStopContext_Impl(
aTabStop.FillChar = cTextFillChar;
}
-SvXMLImportContext *SvxXMLTabStopContext_Impl::CreateChildContext(
+SvXMLImportContextRef SvxXMLTabStopContext_Impl::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & )
@@ -170,7 +170,7 @@ SvxXMLTabStopImportContext::SvxXMLTabStopImportContext(
{
}
-SvXMLImportContext *SvxXMLTabStopImportContext::CreateChildContext(
+SvXMLImportContextRef SvxXMLTabStopImportContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList > & xAttrList )