summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-06 15:58:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-07 08:24:08 +0200
commite054b898e7510388d613e4f918afce53aa5444c7 (patch)
treef453c5276e7c41b296765d098385f0b1a31240bb /xmloff
parentc5a93cad149618bbd43632f1660a558c34bdbf7e (diff)
drop use of tools::SvRef in xmloff
instead of mixing and matching rtl::Reference and tools::SvRef, lets just use rtl::Reference Change-Id: I5d77c8a662e1455f97935e5f4a99e484e8cad332 Reviewed-on: https://gerrit.libreoffice.org/43205 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlictxt.cxx15
-rw-r--r--xmloff/source/forms/elementimport.hxx2
-rw-r--r--xmloff/source/forms/propertyimport.hxx2
3 files changed, 2 insertions, 17 deletions
diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx
index f2242af256de..e1805057dcdd 100644
--- a/xmloff/source/core/xmlictxt.cxx
+++ b/xmloff/source/core/xmlictxt.cxx
@@ -162,19 +162,4 @@ void SAL_CALL SvXMLImportContext::characters(const OUString &rChars)
mrImport.Characters( rChars );
}
-void SvXMLImportContext::AddFirstRef()
-{
- acquire();
-}
-
-void SvXMLImportContext::AddNextRef()
-{
- acquire();
-}
-
-void SvXMLImportContext::ReleaseRef()
-{
- release();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index 79d223948391..c2cfc36f5b03 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -512,7 +512,7 @@ namespace xmloff
void implSelectCurrentItem();
void implDefaultSelectCurrentItem();
};
- typedef tools::SvRef<OListAndComboImport> OListAndComboImportRef;
+ typedef rtl::Reference<OListAndComboImport> OListAndComboImportRef;
//= OListOptionImport
/** helper class for importing a single &lt;form:option&gt; element.
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index c0ee5be0f4b2..30e57fac4904 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -150,7 +150,7 @@ namespace xmloff
m_aGenericValues.push_back(_rProp);
}
};
- typedef tools::SvRef<OPropertyImport> OPropertyImportRef;
+ typedef rtl::Reference<OPropertyImport> OPropertyImportRef;
//= OPropertyElementsContext
/** helper class for importing the &lt;form:properties&gt; element