diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 08:06:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 10:54:23 +0200 |
commit | f49b6d89fd9a903ce01a30bf9971188737ceda14 (patch) | |
tree | 8e70bf3f9fd7f29a52cbd3440cb9423eaebd72d4 /svtools/source/uno/svtxgridcontrol.hxx | |
parent | 89b08e23180c242a058653e246ace2ca47b56a3a (diff) |
loplugin:finalclasses in svtools
Change-Id: I596342a3d32e116ac5994b60a5bd8717d4f6a5dd
Reviewed-on: https://gerrit.libreoffice.org/43733
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/uno/svtxgridcontrol.hxx')
-rw-r--r-- | svtools/source/uno/svtxgridcontrol.hxx | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/svtools/source/uno/svtxgridcontrol.hxx b/svtools/source/uno/svtxgridcontrol.hxx index a8e074d1074d..471d3753add3 100644 --- a/svtools/source/uno/svtxgridcontrol.hxx +++ b/svtools/source/uno/svtxgridcontrol.hxx @@ -48,17 +48,8 @@ typedef ::cppu::ImplInheritanceHelper < VCLXWindow , css::awt::grid::XGridDataListener , css::container::XContainerListener > SVTXGridControl_Base; -class SVTXGridControl : public SVTXGridControl_Base +class SVTXGridControl final : public SVTXGridControl_Base { -private: - std::shared_ptr< ::svt::table::UnoControlTableModel > m_xTableModel; - bool m_bTableModelInitCompleted; - SelectionListenerMultiplexer m_aSelectionListeners; - -protected: - virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; - void ImplCallItemListeners(); - public: SVTXGridControl(); virtual ~SVTXGridControl() override; @@ -104,16 +95,22 @@ public: // XWindow void SAL_CALL setEnable( sal_Bool bEnable ) override; -protected: +private: // VCLXWindow virtual void SetWindow( const VclPtr< vcl::Window > &pWindow ) override; -private: void impl_updateColumnsFromModel_nothrow(); void impl_checkTableModelInit(); void impl_checkColumnIndex_throw( ::svt::table::TableControl const & i_table, sal_Int32 const i_columnIndex ) const; void impl_checkRowIndex_throw( ::svt::table::TableControl const & i_table, sal_Int32 const i_rowIndex ) const; + + virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; + void ImplCallItemListeners(); + + std::shared_ptr< ::svt::table::UnoControlTableModel > m_xTableModel; + bool m_bTableModelInitCompleted; + SelectionListenerMultiplexer m_aSelectionListeners; }; #endif // INCLUDED_SVTOOLS_SOURCE_UNO_SVTXGRIDCONTROL_HXX |