diff options
Diffstat (limited to 'include/comphelper/componentbase.hxx')
-rw-r--r-- | include/comphelper/componentbase.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/comphelper/componentbase.hxx b/include/comphelper/componentbase.hxx index ac6acfa758bd..75f43a9f8812 100644 --- a/include/comphelper/componentbase.hxx +++ b/include/comphelper/componentbase.hxx @@ -64,14 +64,14 @@ namespace comphelper Subsequent instantiations of a ComponentMethodGuard won't throw the NotInitializedException now. */ - inline void setInitialized() { m_bInitialized = true; } + void setInitialized() { m_bInitialized = true; } public: /// helper struct to grant access to selected public methods to the ComponentMethodGuard class struct GuardAccess { friend class ComponentMethodGuard; private: GuardAccess() { } }; /// retrieves the component's mutex - inline ::osl::Mutex& getMutex( GuardAccess ) { return getMutex(); } + ::osl::Mutex& getMutex( GuardAccess ) { return getMutex(); } /// checks whether the component is already disposed, throws a DisposedException if so. void checkDisposed( GuardAccess ) const; /// checks whether the component is already initialized, throws a NotInitializedException if not. @@ -79,14 +79,14 @@ namespace comphelper protected: /// retrieves the component's broadcast helper - inline ::cppu::OBroadcastHelper& getBroadcastHelper() { return m_rBHelper; } + ::cppu::OBroadcastHelper& getBroadcastHelper() { return m_rBHelper; } /// retrieves the component's mutex - inline ::osl::Mutex& getMutex() { return m_rBHelper.rMutex; } + ::osl::Mutex& getMutex() { return m_rBHelper.rMutex; } /// determines whether the instance is already disposed - inline bool impl_isDisposed() const { return m_rBHelper.bDisposed; } + bool impl_isDisposed() const { return m_rBHelper.bDisposed; } /// determines whether the component is already initialized - inline bool + bool impl_isInitialized_nothrow() const { return m_bInitialized; } /** returns the context to be used when throwing exceptions @@ -121,7 +121,7 @@ namespace comphelper _rComponent.checkDisposed( ComponentBase::GuardAccess() ); } - inline void clear() + void clear() { m_aMutexGuard.clear(); } |