summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 10:31:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 11:30:49 +0200
commit08519ce8265b9b785f369623e1d6ad396c36d349 (patch)
treeb6c63ed7da7f02d3a04a753d3ff8f44dce44b2f7 /unoxml
parent6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f (diff)
loplugin:constmethod in ucb..uui
Change-Id: I53db381de8e063b6a3aa07051351e655c6f040fa Reviewed-on: https://gerrit.libreoffice.org/79782 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/documentbuilder.hxx2
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx
index ca5927161ceb..b8ce66e42a9e 100644
--- a/unoxml/source/dom/documentbuilder.hxx
+++ b/unoxml/source/dom/documentbuilder.hxx
@@ -127,7 +127,7 @@ namespace DOM
the XML document to be parsed.
*/
- const css::uno::Reference< css::xml::sax::XErrorHandler >& getErrorHandler()
+ const css::uno::Reference< css::xml::sax::XErrorHandler >& getErrorHandler() const
{
return m_xErrorHandler;
}
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 72e417cfd699..5e679b7cf378 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -377,7 +377,7 @@ public:
// throw (uno::RuntimeException, lang::IllegalArgumentException,
// container::NoSuchElementException, rdf::RepositoryException);
- const librdf_TypeConverter& getTypeConverter() { return m_TypeConverter; };
+ const librdf_TypeConverter& getTypeConverter() const { return m_TypeConverter; };
private: