summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-04 14:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-05 07:32:46 +0100
commit9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 (patch)
tree544f3e51a3978bd234a1c9fcdbf12d9b84352da4 /unoxml
parenteaf89e477af94bd3977aca17d72dd442c7604e63 (diff)
loplugin:salcall fix non-virtual methods
first, since those are safer to change than virtual methods Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe Reviewed-on: https://gerrit.libreoffice.org/45798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/documentbuilder.cxx2
-rw-r--r--unoxml/source/dom/documentbuilder.hxx2
-rw-r--r--unoxml/source/rdf/CURI.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx
index db0b59f01090..dd0fd4df5a9e 100644
--- a/unoxml/source/dom/documentbuilder.cxx
+++ b/unoxml/source/dom/documentbuilder.cxx
@@ -416,7 +416,7 @@ namespace DOM
m_xEntityResolver = xER;
}
- Reference< XEntityResolver > SAL_CALL CDocumentBuilder::getEntityResolver()
+ Reference< XEntityResolver > CDocumentBuilder::getEntityResolver()
{
::osl::MutexGuard const g(m_Mutex);
diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx
index 9f6253bdff8a..4ef3e1840de1 100644
--- a/unoxml/source/dom/documentbuilder.hxx
+++ b/unoxml/source/dom/documentbuilder.hxx
@@ -115,7 +115,7 @@ namespace DOM
virtual void SAL_CALL setEntityResolver(const css::uno::Reference< css::xml::sax::XEntityResolver >& er) override;
/// @throws css::uno::RuntimeException
- css::uno::Reference< css::xml::sax::XEntityResolver > SAL_CALL getEntityResolver();
+ css::uno::Reference< css::xml::sax::XEntityResolver > getEntityResolver();
/**
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index 7392d44e9a89..c00f528b45c6 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -61,7 +61,7 @@ private:
CURI& operator=(CURI const&) = delete;
/// handle css.rdf.URIs
- void SAL_CALL initFromConstant(const sal_Int16 i_Constant);
+ void initFromConstant(const sal_Int16 i_Constant);
OUString m_Namespace;
OUString m_LocalName;
@@ -96,7 +96,7 @@ const char s_nsPkg [] =
const char s_nsODF [] =
"http://docs.oasis-open.org/ns/office/1.2/meta/odf#";
-void SAL_CALL CURI::initFromConstant(const sal_Int16 i_Constant)
+void CURI::initFromConstant(const sal_Int16 i_Constant)
{
const char *ns(nullptr);
const char *ln(nullptr);