summaryrefslogtreecommitdiffstats
path: root/include/cppuhelper/weak.hxx
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 /include/cppuhelper/weak.hxx
parenttdf#42982 improve error reporting in sc unoobj (diff)
downloadcore-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.tar.gz
core-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.zip
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 'include/cppuhelper/weak.hxx')
-rw-r--r--include/cppuhelper/weak.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index 0bc22a49e005..cddd79590592 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -81,13 +81,13 @@ protected:
public:
/// @cond INTERNAL
// these are here to force memory de/allocation to sal lib.
- inline static void * SAL_CALL operator new( size_t nSize )
+ static void * SAL_CALL operator new( size_t nSize )
{ return ::rtl_allocateMemory( nSize ); }
- inline static void SAL_CALL operator delete( void * pMem )
+ static void SAL_CALL operator delete( void * pMem )
{ ::rtl_freeMemory( pMem ); }
- inline static void * SAL_CALL operator new( size_t, void * pMem )
+ static void * SAL_CALL operator new( size_t, void * pMem )
{ return pMem; }
- inline static void SAL_CALL operator delete( void *, void * )
+ static void SAL_CALL operator delete( void *, void * )
{}
/// @endcond
@@ -99,7 +99,7 @@ public:
#else
/** Default Constructor. Sets the reference count to zero.
*/
- inline OWeakObject()
+ OWeakObject()
: m_refCount( 0 )
, m_pWeakConnectionPoint( NULL )
, m_pReserved(NULL)
@@ -109,7 +109,7 @@ public:
@param rObj dummy param
*/
- inline OWeakObject( const OWeakObject & rObj )
+ OWeakObject( const OWeakObject & rObj )
: css::uno::XWeak()
, m_refCount( 0 )
, m_pWeakConnectionPoint( NULL )
@@ -121,7 +121,7 @@ public:
@return this OWeakObject
*/
- inline OWeakObject & SAL_CALL operator = ( const OWeakObject &)
+ OWeakObject & SAL_CALL operator = ( const OWeakObject &)
{ return *this; }
/** Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and
@@ -151,7 +151,7 @@ public:
@return XInterface reference
*/
- inline SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
+ SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
{ return this; }
};