From d5b07dc9c0185e59077e54c91792476dcbba8d44 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 21 Aug 2019 20:03:57 +0200 Subject: loplugin:constmethod in canvas,comphelper Change-Id: I8790355369159b2325d3992712b2f65e0401db86 Reviewed-on: https://gerrit.libreoffice.org/77930 Tested-by: Jenkins Reviewed-by: Noel Grandin --- comphelper/source/misc/logging.cxx | 2 +- comphelper/source/processfactory/processfactory.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index d9b7caf52634..22ff36c288bc 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -86,7 +86,7 @@ namespace comphelper return false; } - const css::uno::Reference & EventLogger::getLogger() + const css::uno::Reference & EventLogger::getLogger() const { return m_pImpl->getLogger(); } diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx index de62a651d90a..515c4b6a7476 100644 --- a/comphelper/source/processfactory/processfactory.cxx +++ b/comphelper/source/processfactory/processfactory.cxx @@ -46,7 +46,7 @@ public: xProcessFactory = xSMgr; } - Reference< XMultiServiceFactory > get() + Reference< XMultiServiceFactory > get() const { Guard< Mutex > aGuard( Mutex::getGlobalMutex() ); -- cgit