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/source/ui/inc/csvruler.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/source/ui/inc/csvruler.hxx')
-rw-r--r-- | sc/source/ui/inc/csvruler.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index a4885f4996c4..709817c1711f 100644 --- a/sc/source/ui/inc/csvruler.hxx +++ b/sc/source/ui/inc/csvruler.hxx @@ -87,18 +87,18 @@ private: // split handling --------------------------------------------------------- public: /** Returns the split array. */ - inline const ScCsvSplits& GetSplits() const { return maSplits; } + const ScCsvSplits& GetSplits() const { return maSplits; } /** Returns the number of splits. */ - inline sal_uInt32 GetSplitCount() const + sal_uInt32 GetSplitCount() const { return maSplits.Count(); } /** Returns the position of the specified split. */ - inline sal_Int32 GetSplitPos( sal_uInt32 nIndex ) const + sal_Int32 GetSplitPos( sal_uInt32 nIndex ) const { return maSplits[ nIndex ]; } /** Finds a position nearest to nPos which does not cause scrolling the visible area. */ sal_Int32 GetNoScrollPos( sal_Int32 nPos ) const; /** Returns true if at position nPos is a split. */ - inline bool HasSplit( sal_Int32 nPos ) const { return maSplits.HasSplit( nPos ); } + bool HasSplit( sal_Int32 nPos ) const { return maSplits.HasSplit( nPos ); } /** Inserts a split. */ void InsertSplit( sal_Int32 nPos ); /** Removes a split. */ @@ -149,9 +149,9 @@ public: private: /** Returns the width of the control. */ - inline sal_Int32 GetWidth() const { return maWinSize.Width(); } + sal_Int32 GetWidth() const { return maWinSize.Width(); } /** Returns the height of the control. */ - inline sal_Int32 GetHeight() const { return maWinSize.Height(); } + sal_Int32 GetHeight() const { return maWinSize.Height(); } /** Draws the background and active area to maBackgrDev (only the given X range). */ SAL_DLLPRIVATE void ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth ); |