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 /vcl/inc | |
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 'vcl/inc')
-rw-r--r-- | vcl/inc/ResampleKernel.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/listbox.hxx | 8 | ||||
-rw-r--r-- | vcl/inc/opengl/texture.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/scrptrun.h | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/vcl/inc/ResampleKernel.hxx b/vcl/inc/ResampleKernel.hxx index 9088c7a3b3a7..1d40b4d87b6d 100644 --- a/vcl/inc/ResampleKernel.hxx +++ b/vcl/inc/ResampleKernel.hxx @@ -47,7 +47,7 @@ public: return (-3.0 <= x && x < 3.0) ? SincFilter(x) * SincFilter( x / 3.0 ) : 0.0; } - static inline double SincFilter(double x) + static double SincFilter(double x) { if (x == 0.0) { diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index bc411a58500c..84a9a6cfd054 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -336,8 +336,8 @@ public: DrawTextFlags ImplGetTextStyle() const; /// pb: #106948# explicit mirroring for calc - inline void EnableMirroring() { mbMirroring = true; } - inline bool IsMirroring() const { return mbMirroring; } + void EnableMirroring() { mbMirroring = true; } + bool IsMirroring() const { return mbMirroring; } bool GetEdgeBlending() const { return mbEdgeBlending; } void SetEdgeBlending(bool bNew) { mbEdgeBlending = bNew; } @@ -463,8 +463,8 @@ public: void SetEdgeBlending(bool bNew); /// pb: #106948# explicit mirroring for calc - inline void EnableMirroring() { maLBWindow->EnableMirroring(); } - inline void SetDropTraget(const css::uno::Reference< css::uno::XInterface >& i_xDNDListenerContainer){ mxDNDListenerContainer= i_xDNDListenerContainer; } + void EnableMirroring() { maLBWindow->EnableMirroring(); } + void SetDropTraget(const css::uno::Reference< css::uno::XInterface >& i_xDNDListenerContainer){ mxDNDListenerContainer= i_xDNDListenerContainer; } }; class ImplListBoxFloatingWindow : public FloatingWindow diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx index fd4eb9724648..3a06b2a48c77 100644 --- a/vcl/inc/opengl/texture.hxx +++ b/vcl/inc/opengl/texture.hxx @@ -78,7 +78,7 @@ private: inline bool GetTextureRect(const SalTwoRect& rPosAry, bool bInverted, GLfloat& x1, GLfloat& x2, GLfloat& y1, GLfloat& y2) const; - inline bool IsValid() const + bool IsValid() const { return (mpImpl && mpImpl->mnTexture != 0); } diff --git a/vcl/inc/scrptrun.h b/vcl/inc/scrptrun.h index 8123f4ce603c..9fb13d540960 100644 --- a/vcl/inc/scrptrun.h +++ b/vcl/inc/scrptrun.h @@ -82,14 +82,14 @@ s * ICU "poor man's RTTI", returns a UClassID for the actual class. * * @stable ICU 2.2 */ - virtual inline UClassID getDynamicClassID() const override { return getStaticClassID(); } + virtual UClassID getDynamicClassID() const override { return getStaticClassID(); } /** * ICU "poor man's RTTI", returns a UClassID for this class. * * @stable ICU 2.2 */ - static inline UClassID getStaticClassID() { return static_cast<UClassID>(const_cast<char *>(&fgClassID)); } + static UClassID getStaticClassID() { return static_cast<UClassID>(const_cast<char *>(&fgClassID)); } private: |