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/format.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/format.hxx')
-rw-r--r-- | sw/inc/format.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index a30af53a581f..a3a166182d45 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -105,15 +105,15 @@ public: @return count of deleted hints. */ virtual sal_uInt16 ResetAllFormatAttr(); - inline SwFormat* DerivedFrom() const { return const_cast<SwFormat*>(static_cast<const SwFormat*>(GetRegisteredIn())); } - inline bool IsDefault() const { return DerivedFrom() == nullptr; } + SwFormat* DerivedFrom() const { return const_cast<SwFormat*>(static_cast<const SwFormat*>(GetRegisteredIn())); } + bool IsDefault() const { return DerivedFrom() == nullptr; } const OUString& GetName() const { return m_aFormatName; } - inline bool HasName(const OUString &rName) const { return m_aFormatName == rName; } + bool HasName(const OUString &rName) const { return m_aFormatName == rName; } virtual void SetName( const OUString& rNewName, bool bBroadcast=false ); /// For querying the attribute array. - inline const SwAttrSet& GetAttrSet() const { return m_aSet; } + const SwAttrSet& GetAttrSet() const { return m_aSet; } /** Das Doc wird jetzt am SwAttrPool gesetzt. Dadurch hat man es immer im Zugriff. */ |