[Libreoffice-commits] core.git: include/sax sax/qa
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 22 08:34:42 UTC 2019
include/sax/tools/documenthandleradapter.hxx | 4 ++--
sax/qa/cppunit/xmlimport.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 9082e4df0133cdf13d10dac2a8fa293b4405463b
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Aug 21 20:06:54 2019 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Aug 22 10:34:00 2019 +0200
loplugin:constmethod in sax
Change-Id: I73e8322107d4c3f8890f6c1d059e4853de489d6e
Reviewed-on: https://gerrit.libreoffice.org/77932
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
More information about the Libreoffice-commits
mailing list