summaryrefslogtreecommitdiff
path: root/basic/source/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 /basic/source/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 'basic/source/inc')
-rw-r--r--basic/source/inc/namecont.hxx8
-rw-r--r--basic/source/inc/token.hxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index cd785d0877c2..5cc2c0d11992 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -146,15 +146,15 @@ public:
{
}
- inline bool isModified() const { return mbModified; }
+ bool isModified() const { return mbModified; }
void setModified( bool _bModified );
- inline void addModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener )
+ void addModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener )
{
m_aModifyListeners.addInterface( _rxListener );
}
- inline void removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener )
+ void removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& _rxListener )
{
m_aModifyListeners.removeInterface( _rxListener );
}
@@ -510,7 +510,7 @@ private:
virtual void storeResourcesToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage ) = 0;
protected:
- inline bool implIsModified() const { return mbIsModified; }
+ bool implIsModified() const { return mbIsModified; }
void implSetModified( bool _bIsModified );
private:
diff --git a/basic/source/inc/token.hxx b/basic/source/inc/token.hxx
index 3799d2963582..3ac72d52429f 100644
--- a/basic/source/inc/token.hxx
+++ b/basic/source/inc/token.hxx
@@ -146,8 +146,8 @@ public:
SbiTokenizer( const OUString&, StarBASIC* = nullptr );
~SbiTokenizer();
- inline bool IsEof() { return bEof; }
- inline bool IsEos() { return bEos; }
+ bool IsEof() { return bEof; }
+ bool IsEos() { return bEos; }
void Push( SbiToken );
const OUString& Symbol( SbiToken ); // reconversion