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 /desktop/source/deployment/inc | |
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 'desktop/source/deployment/inc')
-rw-r--r-- | desktop/source/deployment/inc/dp_interact.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/deployment/inc/dp_interact.h b/desktop/source/deployment/inc/dp_interact.h index 2cabec56d41a..5f5fb610558c 100644 --- a/desktop/source/deployment/inc/dp_interact.h +++ b/desktop/source/deployment/inc/dp_interact.h @@ -110,12 +110,12 @@ class DESKTOP_DEPLOYMENTMISC_DLLPUBLIC AbortChannel : css::uno::Reference<css::task::XAbortChannel> m_xNext; public: - inline AbortChannel() : m_aborted( false ) {} - inline static AbortChannel * get( + AbortChannel() : m_aborted( false ) {} + static AbortChannel * get( css::uno::Reference<css::task::XAbortChannel> const & xAbortChannel ) { return static_cast<AbortChannel *>(xAbortChannel.get()); } - inline bool isAborted() const { return m_aborted; } + bool isAborted() const { return m_aborted; } // XAbortChannel virtual void SAL_CALL sendAbort() override; @@ -124,12 +124,12 @@ public: { const ::rtl::Reference<AbortChannel> m_abortChannel; public: - inline Chain( + Chain( ::rtl::Reference<AbortChannel> const & abortChannel, css::uno::Reference<css::task::XAbortChannel> const & xNext ) : m_abortChannel( abortChannel ) { if (m_abortChannel.is()) m_abortChannel->m_xNext = xNext; } - inline ~Chain() + ~Chain() { if (m_abortChannel.is()) m_abortChannel->m_xNext.clear(); } }; friend class Chain; |