summaryrefslogtreecommitdiff
path: root/framework/inc
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 /framework/inc
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 'framework/inc')
-rw-r--r--framework/inc/threadhelp/gate.hxx4
-rw-r--r--framework/inc/threadhelp/transactionguard.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/inc/threadhelp/gate.hxx b/framework/inc/threadhelp/gate.hxx
index 0c0466067cd9..b09ba7257c32 100644
--- a/framework/inc/threadhelp/gate.hxx
+++ b/framework/inc/threadhelp/gate.hxx
@@ -47,7 +47,7 @@ class Gate
@short ctor
@descr These initialize the object right as an open gate.
*//*-*****************************************************************************************************/
- inline Gate()
+ Gate()
: m_bClosed ( false )
{
open();
@@ -59,7 +59,7 @@ class Gate
blocked threads can running ... but I don't know
if it's right - we are destroyed yet!?
*//*-*****************************************************************************************************/
- inline ~Gate()
+ ~Gate()
{
open();
}
diff --git a/framework/inc/threadhelp/transactionguard.hxx b/framework/inc/threadhelp/transactionguard.hxx
index 033f61b940f6..2c4366cdee23 100644
--- a/framework/inc/threadhelp/transactionguard.hxx
+++ b/framework/inc/threadhelp/transactionguard.hxx
@@ -27,13 +27,13 @@ namespace framework{
class TransactionGuard
{
public:
- inline TransactionGuard( TransactionManager& rManager, EExceptionMode eMode )
+ TransactionGuard( TransactionManager& rManager, EExceptionMode eMode )
: m_pManager( &rManager )
{
m_pManager->registerTransaction( eMode );
}
- inline ~TransactionGuard()
+ ~TransactionGuard()
{
m_pManager->unregisterTransaction();
}