summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-17 12:23:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-19 08:44:52 +0200
commitd8ac55e3e53564aca4b0bade5a5b5cb01b4519b1 (patch)
treeeccc16dc658bdcc8c3e47b2656d9481af73f89fb /unoxml
parent488db385bd14597b2c14410b855749bc5c5b9441 (diff)
loplugin:constfields in unotools..uui
Change-Id: I9d9cfd107bea9556cbc505e977838fb13bd25e2a Reviewed-on: https://gerrit.libreoffice.org/60573 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/document.cxx2
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index 4e904a899d3e..69a15862501a 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -340,7 +340,7 @@ namespace DOM
// IO context functions for libxml2 interaction
typedef struct {
Reference< XOutputStream > stream;
- bool allowClose;
+ bool const allowClose;
} IOContext;
extern "C" {
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 3352eba9acba..b4e6e266cd2c 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -405,7 +405,7 @@ private:
NamedGraphMap_t m_NamedGraphs;
/// type conversion helper - stateless
- librdf_TypeConverter m_TypeConverter;
+ librdf_TypeConverter const m_TypeConverter;
/// set of xml:ids of elements with xhtml:content
::std::set< OUString > m_RDFaXHTMLContentSet;