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 /sw/inc/fldbas.hxx | |
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 'sw/inc/fldbas.hxx')
-rw-r--r-- | sw/inc/fldbas.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 35988c4dbccf..ed520543f4a3 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -394,17 +394,17 @@ protected: SwValueFieldType( const SwValueFieldType& rTyp ); public: - inline SwDoc* GetDoc() const { + SwDoc* GetDoc() const { return m_pDoc; } - inline void SetDoc(SwDoc* pNewDoc) { + void SetDoc(SwDoc* pNewDoc) { m_pDoc = pNewDoc; } - inline bool UseFormat() const { + bool UseFormat() const { return m_bUseFormat; } - inline void EnableFormat(bool bFormat = true) { + void EnableFormat(bool bFormat = true) { m_bUseFormat = bFormat; } @@ -428,14 +428,14 @@ public: virtual SwFieldType* ChgTyp( SwFieldType* ) override; virtual void SetLanguage(sal_uInt16 nLng) override; - inline SwDoc* GetDoc() const { + SwDoc* GetDoc() const { return static_cast<const SwValueFieldType*>(GetTyp())->GetDoc(); } virtual double GetValue() const; virtual void SetValue( const double& rVal ); - inline OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng) const { + OUString ExpandValue(const double& rVal, sal_uInt32 nFormat, sal_uInt16 nLng) const { return static_cast<SwValueFieldType*>(GetTyp())->ExpandValue(rVal, nFormat, nLng); } |