From 216ffb038f4a2f43286d96b83a64346a2351c8c1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 10:41:23 +0200 Subject: loplugin:passstuffbyref in comphelper Change-Id: I502a0ec6627f37e17c4a9adebda58299167a8126 --- comphelper/source/misc/accimplaccess.cxx | 2 +- comphelper/source/misc/logging.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index 7843b053d9dd..a9b265e5b2ee 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -58,7 +58,7 @@ namespace comphelper } - Reference< XAccessible > OAccessibleImplementationAccess::implGetForeignControlledParent( ) const + const Reference< XAccessible >& OAccessibleImplementationAccess::implGetForeignControlledParent( ) const { return m_pImpl->m_xAccParent; } diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index 0790567c212a..dcab775e1206 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -62,9 +62,9 @@ namespace comphelper impl_createLogger_nothrow(); } - inline bool isValid() const { return m_xLogger.is(); } - inline const Reference< XLogger >& getLogger() const { return m_xLogger; } - inline Reference< XComponentContext > getContext() const { return m_aContext; } + bool isValid() const { return m_xLogger.is(); } + const Reference< XLogger >& getLogger() const { return m_xLogger; } + const Reference< XComponentContext >& getContext() const { return m_aContext; } private: void impl_createLogger_nothrow(); -- cgit