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 /svtools/source/table | |
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 'svtools/source/table')
-rw-r--r-- | svtools/source/table/tablecontrol_impl.hxx | 14 | ||||
-rw-r--r-- | svtools/source/table/tabledatawindow.hxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablegeometry.hxx | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index 47a71a356da9..9fdd30d180c9 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -136,18 +136,18 @@ namespace svt { namespace table public: void setModel( const PTableModel& _pModel ); - inline const PTableInputHandler& getInputHandler() const { return m_pInputHandler; } + const PTableInputHandler& getInputHandler() const { return m_pInputHandler; } - inline RowPos getCurRow() const { return m_nCurRow; } + RowPos getCurRow() const { return m_nCurRow; } RowPos getAnchor() const { return m_nAnchor; } void setAnchor( RowPos const i_anchor ) { m_nAnchor = i_anchor; } - inline RowPos getTopRow() const { return m_nTopRow; } - inline ColPos getLeftColumn() const { return m_nLeftColumn; } + RowPos getTopRow() const { return m_nTopRow; } + ColPos getLeftColumn() const { return m_nLeftColumn; } - inline const TableControl& getAntiImpl() const { return m_rAntiImpl; } - inline TableControl& getAntiImpl() { return m_rAntiImpl; } + const TableControl& getAntiImpl() const { return m_rAntiImpl; } + TableControl& getAntiImpl() { return m_rAntiImpl; } public: explicit TableControl_Impl( TableControl& _rAntiImpl ); @@ -283,7 +283,7 @@ namespace svt { namespace table getAccessible( vcl::Window& i_parentWindow ); void disposeAccessible(); - inline bool isAccessibleAlive() const { return impl_isAccessibleAlive(); } + bool isAccessibleAlive() const { return impl_isAccessibleAlive(); } // ITableModelListener virtual void rowsInserted( RowPos first, RowPos last ) override; diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx index 99def264e3b8..d7786fcdea42 100644 --- a/svtools/source/table/tabledatawindow.hxx +++ b/svtools/source/table/tabledatawindow.hxx @@ -44,7 +44,7 @@ namespace svt { namespace table virtual ~TableDataWindow() override; virtual void dispose() override; - inline void SetSelectHdl(const Link<LinkParamNone*,void>& rLink) + void SetSelectHdl(const Link<LinkParamNone*,void>& rLink) { m_aSelectHdl = rLink; } diff --git a/svtools/source/table/tablegeometry.hxx b/svtools/source/table/tablegeometry.hxx index c5943625e101..c6ffba2ce972 100644 --- a/svtools/source/table/tablegeometry.hxx +++ b/svtools/source/table/tablegeometry.hxx @@ -146,11 +146,11 @@ namespace svt { namespace table { } - inline Rectangle getRect() const { return m_aRow.getRect().GetIntersection( m_aCol.getRect() ); } - inline ColPos getColumn() const { return m_aCol.getCol(); } - inline bool isValid() const { return !getRect().IsEmpty(); } + Rectangle getRect() const { return m_aRow.getRect().GetIntersection( m_aCol.getRect() ); } + ColPos getColumn() const { return m_aCol.getCol(); } + bool isValid() const { return !getRect().IsEmpty(); } - inline bool moveRight() {return m_aCol.moveRight(); } + bool moveRight() {return m_aCol.moveRight(); } }; |