diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /comphelper/source/misc | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/accessiblecontexthelper.cxx | 10 | ||||
-rw-r--r-- | comphelper/source/misc/docpasswordrequest.cxx | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx index abd94a0f7bbd..f03598df2c7c 100644 --- a/comphelper/source/misc/accessiblecontexthelper.cxx +++ b/comphelper/source/misc/accessiblecontexthelper.cxx @@ -48,15 +48,15 @@ namespace comphelper AccessibleEventNotifier::TClientId m_nClientId; public: - inline Reference< XAccessible > getCreator( ) const { return m_aCreator; } + Reference< XAccessible > getCreator( ) const { return m_aCreator; } inline void setCreator( const Reference< XAccessible >& _rAcc ); - inline IMutex* getExternalLock( ) { return m_pExternalLock; } - inline void setExternalLock( IMutex* _pLock ) { m_pExternalLock = _pLock; } + IMutex* getExternalLock( ) { return m_pExternalLock; } + void setExternalLock( IMutex* _pLock ) { m_pExternalLock = _pLock; } - inline AccessibleEventNotifier::TClientId + AccessibleEventNotifier::TClientId getClientId() const { return m_nClientId; } - inline void setClientId( const AccessibleEventNotifier::TClientId _nId ) + void setClientId( const AccessibleEventNotifier::TClientId _nId ) { m_nClientId = _nId; } public: diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx index 105956c1692d..7e5de715a6ed 100644 --- a/comphelper/source/misc/docpasswordrequest.cxx +++ b/comphelper/source/misc/docpasswordrequest.cxx @@ -53,9 +53,9 @@ public: class PasswordContinuation : public ::cppu::WeakImplHelper< XInteractionPassword2 > { public: - inline explicit PasswordContinuation() : mbReadOnly( false ), mbSelected( false ) {} + explicit PasswordContinuation() : mbReadOnly( false ), mbSelected( false ) {} - inline bool isSelected() const { return mbSelected; } + bool isSelected() const { return mbSelected; } virtual void SAL_CALL select() override { mbSelected = true; } |