diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-21 20:06:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 10:34:00 +0200 |
commit | 9082e4df0133cdf13d10dac2a8fa293b4405463b (patch) | |
tree | 7b55e53e5a3925a442fc4f98e0bfe925f8fbc380 | |
parent | b1dc8e2379b53c3d57283d43655cf4d51d586ec0 (diff) |
loplugin:constmethod in sax
Change-Id: I73e8322107d4c3f8890f6c1d059e4853de489d6e
Reviewed-on: https://gerrit.libreoffice.org/77932
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | include/sax/tools/documenthandleradapter.hxx | 4 | ||||
-rw-r--r-- | sax/qa/cppunit/xmlimport.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx index 202bfbcb42a2..0296abfd669e 100644 --- a/include/sax/tools/documenthandleradapter.hxx +++ b/include/sax/tools/documenthandleradapter.hxx @@ -86,7 +86,7 @@ namespace sax m_handler = delegate; } const css::uno::Reference< css::xml::sax::XDocumentHandler >& - getDelegate() + getDelegate() const { return m_handler; } @@ -196,7 +196,7 @@ namespace sax m_handler = delegate; } const css::uno::Reference< css::xml::sax::XExtendedDocumentHandler >& - getDelegate() + getDelegate() const { return m_handler; } diff --git a/sax/qa/cppunit/xmlimport.cxx b/sax/qa/cppunit/xmlimport.cxx index 79f360dce5da..ff560c2625b0 100644 --- a/sax/qa/cppunit/xmlimport.cxx +++ b/sax/qa/cppunit/xmlimport.cxx @@ -86,7 +86,7 @@ private: public: TestDocumentHandler() {} - const OUString & getString() { return m_aStr; } + const OUString & getString() const { return m_aStr; } // XDocumentHandler virtual void SAL_CALL startDocument() override; |