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 /cppuhelper | |
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 'cppuhelper')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/exc_thrower.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/macro_expander.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/unourl.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index 08e2e7ad4737..355445da3076 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -133,7 +133,7 @@ protected: Any value; bool lateInit; - inline ContextEntry( Any const & value_, bool lateInit_ ) + ContextEntry( Any const & value_, bool lateInit_ ) : value( value_ ) , lateInit( lateInit_ ) {} diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx index 6bec68874031..a49f3aa1d52c 100644 --- a/cppuhelper/source/exc_thrower.cxx +++ b/cppuhelper/source/exc_thrower.cxx @@ -47,7 +47,7 @@ struct ExceptionThrower : public uno_Interface, XExceptionThrower virtual ~ExceptionThrower() {} - static inline Type const & getCppuType() + static Type const & getCppuType() { return cppu::UnoType<XExceptionThrower>::get(); } diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx index 8180065b2207..c0b2cda55fee 100644 --- a/cppuhelper/source/macro_expander.cxx +++ b/cppuhelper/source/macro_expander.cxx @@ -126,7 +126,7 @@ protected: virtual void SAL_CALL disposing() override; public: - inline Bootstrap_MacroExpander() + Bootstrap_MacroExpander() : t_uno_impl( m_mutex ) {} diff --git a/cppuhelper/source/unourl.cxx b/cppuhelper/source/unourl.cxx index 8895119e45bc..c2e4266c8007 100644 --- a/cppuhelper/source/unourl.cxx +++ b/cppuhelper/source/unourl.cxx @@ -60,7 +60,7 @@ public: */ explicit inline Impl(rtl::OUString const & m_aDescriptor); - inline Impl * clone() const { return new Impl(*this); } + Impl * clone() const { return new Impl(*this); } }; inline UnoUrlDescriptor::Impl::Impl(rtl::OUString const & rDescriptor) @@ -188,7 +188,7 @@ public: UnoUrlDescriptor m_aProtocol; rtl::OUString m_aObjectName; - inline Impl * clone() const { return new Impl(*this); } + Impl * clone() const { return new Impl(*this); } /** @exception rtl::MalformedUriException */ |