summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-09 10:24:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-09 10:24:24 +0200
commitd4b0ab2214425545aac5d98c49dc320ee39d6dc2 (patch)
treed56c6683cd059d4da65fed75b3fb72b1310e6ad5 /include
parentb3c72c734087b178cbcf1622e1088335c6eaf6a7 (diff)
loplugin:refcounting
Change-Id: I3ab5f1df08670fdad3e31aadafd3a02f1925dd88
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/shapeimport.hxx6
-rw-r--r--include/xmloff/txtstyli.hxx3
-rw-r--r--include/xmloff/xmlictxt.hxx2
-rw-r--r--include/xmloff/xmlnumi.hxx2
4 files changed, 7 insertions, 6 deletions
diff --git a/include/xmloff/shapeimport.hxx b/include/xmloff/shapeimport.hxx
index 3042e03537fc..a1263c8b2ffa 100644
--- a/include/xmloff/shapeimport.hxx
+++ b/include/xmloff/shapeimport.hxx
@@ -204,7 +204,7 @@ protected:
SvXMLImport& mrImport;
// list for local light contexts
- ::std::vector< css::uno::Reference< SdXML3DLightContext > >
+ ::std::vector< rtl::Reference< SdXML3DLightContext > >
maList;
// local parameters which need to be read
@@ -274,8 +274,8 @@ class XMLOFF_DLLPUBLIC XMLShapeImportHelper : public salhelper::SimpleReferenceO
rtl::Reference<SvXMLImportPropertyMapper> mpPresPagePropsMapper;
// contexts for Style and AutoStyle import
- css::uno::Reference<SvXMLStylesContext> mxStylesContext;
- css::uno::Reference<SvXMLStylesContext> mxAutoStylesContext;
+ rtl::Reference<SvXMLStylesContext> mxStylesContext;
+ rtl::Reference<SvXMLStylesContext> mxAutoStylesContext;
// contexts for xShape contents TokenMaps
std::unique_ptr<SvXMLTokenMap> mpGroupShapeElemTokenMap;
diff --git a/include/xmloff/txtstyli.hxx b/include/xmloff/txtstyli.hxx
index 3b7cb23ba4c0..a142e3d484e6 100644
--- a/include/xmloff/txtstyli.hxx
+++ b/include/xmloff/txtstyli.hxx
@@ -53,7 +53,7 @@ private:
// Introduce import of empty list style (#i69523#)
bool mbListStyleSet : 1;
- css::uno::Reference<XMLEventsImportContext> mxEventContext;
+ rtl::Reference<XMLEventsImportContext> mxEventContext;
protected:
@@ -69,6 +69,7 @@ public:
const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList,
SvXMLStylesContext& rStyles, sal_uInt16 nFamily,
bool bDefaultStyle = false );
+ ~XMLTextStyleContext() override;
virtual SvXMLImportContext *CreateChildContext(
sal_uInt16 nPrefix,
diff --git a/include/xmloff/xmlictxt.hxx b/include/xmloff/xmlictxt.hxx
index c9d987e2fca1..eddbf709b9a8 100644
--- a/include/xmloff/xmlictxt.hxx
+++ b/include/xmloff/xmlictxt.hxx
@@ -130,7 +130,7 @@ public:
void ReleaseRef();
};
-typedef css::uno::Reference<SvXMLImportContext> SvXMLImportContextRef;
+typedef rtl::Reference<SvXMLImportContext> SvXMLImportContextRef;
#endif // INCLUDED_XMLOFF_XMLICTXT_HXX
diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx
index dbe8adc6103f..ee7913a40edd 100644
--- a/include/xmloff/xmlnumi.hxx
+++ b/include/xmloff/xmlnumi.hxx
@@ -33,7 +33,7 @@
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
class SvxXMLListLevelStyleContext_Impl;
-typedef std::vector<css::uno::Reference<SvxXMLListLevelStyleContext_Impl>> SvxXMLListStyle_Impl;
+typedef std::vector<rtl::Reference<SvxXMLListLevelStyleContext_Impl>> SvxXMLListStyle_Impl;
class XMLOFF_DLLPUBLIC SvxXMLListStyleContext
: public SvXMLStyleContext