summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 20:03:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 09:34:35 +0200
commitd5b07dc9c0185e59077e54c91792476dcbba8d44 (patch)
treefa77258288df99fe68fdd32846f804932def0269 /comphelper/source
parentf949d8665e83ece5648af0a73a675036067b88e2 (diff)
loplugin:constmethod in canvas,comphelper
Change-Id: I8790355369159b2325d3992712b2f65e0401db86 Reviewed-on: https://gerrit.libreoffice.org/77930 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/logging.cxx2
-rw-r--r--comphelper/source/processfactory/processfactory.cxx2
2 files changed, 2 insertions, 2 deletions
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<css::logging::XLogger> & EventLogger::getLogger()
+ const css::uno::Reference<css::logging::XLogger> & 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() );