diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 10:41:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:51 +0200 |
commit | 216ffb038f4a2f43286d96b83a64346a2351c8c1 (patch) | |
tree | 0136801e534a56e6e39de1e437f31e14c9d9c71a /comphelper | |
parent | 1343916af23a0f238c5297c4e8d16942db489daa (diff) |
loplugin:passstuffbyref in comphelper
Change-Id: I502a0ec6627f37e17c4a9adebda58299167a8126
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accimplaccess.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/logging.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
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(); |