From 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 3 Mar 2017 20:57:02 +0100 Subject: 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 Reviewed-by: Stephan Bergmann --- forms/source/runtime/formoperations.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'forms/source/runtime') diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx index 29b2e04d5b73..0f09ba2591e1 100644 --- a/forms/source/runtime/formoperations.hxx +++ b/forms/source/runtime/formoperations.hxx @@ -80,7 +80,7 @@ namespace frm struct MethodAccess { friend class MethodGuard; private: MethodAccess() { } }; - inline void enterMethod( MethodAccess ) const + void enterMethod( MethodAccess ) const { m_aMutex.acquire(); impl_checkDisposed_throw(); @@ -89,7 +89,7 @@ namespace frm #endif } - inline void leaveMethod( MethodAccess ) const + void leaveMethod( MethodAccess ) const { m_aMutex.release(); #ifdef DBG_UTIL @@ -228,7 +228,7 @@ namespace frm impl_getCurrentControlModel_throw() const; /// determines if we have a valid cursor - inline bool impl_hasCursor_nothrow() const { return m_xCursorProperties.is(); } + bool impl_hasCursor_nothrow() const { return m_xCursorProperties.is(); } /** determines the model position from a grid control column's view position @@ -349,12 +349,12 @@ namespace frm m_rOwner.enterMethod( FormOperations::MethodAccess() ); } - inline ~MethodGuard() + ~MethodGuard() { clear(); } - inline void clear() + void clear() { if ( !m_bCleared ) m_rOwner.leaveMethod( FormOperations::MethodAccess() ); -- cgit