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 /sc/inc/postit.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 'sc/inc/postit.hxx')
-rw-r--r-- | sc/inc/postit.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index f7c10daab2d7..2904d82cefed 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -48,10 +48,10 @@ public: ~ScCaptionPtr(); ScCaptionPtr& operator=( const ScCaptionPtr& r ); - inline explicit operator bool() const { return mpCaption != nullptr; } - inline SdrCaptionObj* get() const { return mpCaption; } - inline SdrCaptionObj* operator->() const { return mpCaption; } - inline SdrCaptionObj& operator*() const { return *mpCaption; } + explicit operator bool() const { return mpCaption != nullptr; } + SdrCaptionObj* get() const { return mpCaption; } + SdrCaptionObj* operator->() const { return mpCaption; } + SdrCaptionObj& operator*() const { return *mpCaption; } // Does not default to nullptr to make it visually obvious where such is used. void reset( SdrCaptionObj* p ); |