summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-03 20:57:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-03 20:55:50 +0000
commit6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch)
tree21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /comphelper
parent7e8806cd728bf906e1a8f1d649bef7337f297b1c (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')
-rw-r--r--comphelper/source/misc/accessiblecontexthelper.cxx10
-rw-r--r--comphelper/source/misc/docpasswordrequest.cxx4
-rw-r--r--comphelper/source/property/opropertybag.hxx2
3 files changed, 8 insertions, 8 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; }
diff --git a/comphelper/source/property/opropertybag.hxx b/comphelper/source/property/opropertybag.hxx
index df08b946d349..650f981852ed 100644
--- a/comphelper/source/property/opropertybag.hxx
+++ b/comphelper/source/property/opropertybag.hxx
@@ -46,7 +46,7 @@ namespace comphelper
struct UnoTypeLess : public std::unary_function< css::uno::Type, bool >
{
- inline bool operator()( const css::uno::Type& _rLHS, const css::uno::Type& _rRHS ) const
+ bool operator()( const css::uno::Type& _rLHS, const css::uno::Type& _rRHS ) const
{
return rtl_ustr_compare(
_rLHS.getTypeLibType()->pTypeName->buffer,