summaryrefslogtreecommitdiff
path: root/xmloff/source/text
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 /xmloff/source/text
parentb3c72c734087b178cbcf1622e1088335c6eaf6a7 (diff)
loplugin:refcounting
Change-Id: I3ab5f1df08670fdad3e31aadafd3a02f1925dd88
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLTextColumnsContext.cxx2
-rw-r--r--xmloff/source/text/txtparaimphint.hxx2
-rw-r--r--xmloff/source/text/txtstyli.cxx3
3 files changed, 5 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx
index 95440b0bd8bc..ee529eddd301 100644
--- a/xmloff/source/text/XMLTextColumnsContext.cxx
+++ b/xmloff/source/text/XMLTextColumnsContext.cxx
@@ -318,7 +318,7 @@ SvXMLImportContext *XMLTextColumnsContext::CreateChildContext(
if( XML_NAMESPACE_STYLE == nPrefix &&
IsXMLToken( rLocalName, XML_COLUMN ) )
{
- const uno::Reference<XMLTextColumnContext_Impl> xColumn{
+ const rtl::Reference<XMLTextColumnContext_Impl> xColumn{
new XMLTextColumnContext_Impl( GetImport(), nPrefix, rLocalName,
xAttrList, *pColumnAttrTokenMap )};
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index c2eeaee3f984..0a2b9ca8540e 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -106,7 +106,7 @@ class XMLHyperlinkHint_Impl : public XMLHint_Impl
OUString sTargetFrameName;
OUString sStyleName;
OUString sVisitedStyleName;
- css::uno::Reference<XMLEventsImportContext> mxEvents;
+ rtl::Reference<XMLEventsImportContext> mxEvents;
public:
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx
index 6a78c2d77e27..8df44e21c744 100644
--- a/xmloff/source/text/txtstyli.cxx
+++ b/xmloff/source/text/txtstyli.cxx
@@ -149,6 +149,9 @@ XMLTextStyleContext::XMLTextStyleContext( SvXMLImport& rImport,
{
}
+XMLTextStyleContext::~XMLTextStyleContext()
+{}
+
SvXMLImportContext *XMLTextStyleContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,