Kaydet (Commit) e054b898 authored tarafından Noel Grandin's avatar Noel Grandin

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/43205Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst c5a93cad
......@@ -116,10 +116,6 @@ public:
const css::uno::Reference< css::xml::sax::XFastAttributeList > & Attribs) override;
virtual void SAL_CALL characters(const OUString & aChars) override;
void AddFirstRef();
void AddNextRef();
void ReleaseRef();
};
#endif // INCLUDED_XMLOFF_XMLICTXT_HXX
......
......@@ -317,7 +317,7 @@ class StoredChapterNumberingRootContext
private:
SwChapterNumRules & m_rNumRules;
size_t m_nCounter;
std::vector<tools::SvRef<SvxXMLListStyleContext>> m_Contexts;
std::vector<rtl::Reference<SvxXMLListStyleContext>> m_Contexts;
public:
StoredChapterNumberingRootContext(
......
......@@ -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: */
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment