diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /basctl/source | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (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 'basctl/source')
-rw-r--r-- | basctl/source/basicide/scriptdocument.cxx | 8 | ||||
-rw-r--r-- | basctl/source/inc/scriptdocument.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 721dee8330c8..e84824d23de6 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -192,14 +192,14 @@ namespace basctl /** determines whether the instance refers to a valid "document" with script and dialog libraries */ - inline bool isValid() const { return m_bValid; } + bool isValid() const { return m_bValid; } /** determines whether the instance refers to a non-closed document */ - inline bool isAlive() const { return m_bValid && ( m_bIsApplication || !m_bDocumentClosed ); } + bool isAlive() const { return m_bValid && ( m_bIsApplication || !m_bDocumentClosed ); } /// determines whether the "document" refers to the application in real - inline bool isApplication() const { return m_bValid && m_bIsApplication; } + bool isApplication() const { return m_bValid && m_bIsApplication; } /// determines whether the document refers to a real document (instead of the application) - inline bool isDocument() const { return m_bValid && !m_bIsApplication; } + bool isDocument() const { return m_bValid && !m_bIsApplication; } /** invalidates the instance */ diff --git a/basctl/source/inc/scriptdocument.hxx b/basctl/source/inc/scriptdocument.hxx index 04db4f1363a9..f30719097deb 100644 --- a/basctl/source/inc/scriptdocument.hxx +++ b/basctl/source/inc/scriptdocument.hxx @@ -159,7 +159,7 @@ namespace basctl // comparison bool operator==( const ScriptDocument& _rhs ) const; - inline bool operator!=( const ScriptDocument& _rhs ) const { return !( *this == _rhs ); } + bool operator!=( const ScriptDocument& _rhs ) const { return !( *this == _rhs ); } /// retrieves a (pretty simple) hash code for the document sal_Int32 hashCode() const; |