diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-14 11:27:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-14 10:21:55 +0000 |
commit | 06ea347b939895d3091ce747c26de58f4d4a766a (patch) | |
tree | e93a25d2aadc36c263a8ccd8b593449b37fb8b6b /svtools/inc | |
parent | 9be8c4f21200aeec5b334d9536b3b7a0b72c24fa (diff) |
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c
Reviewed-on: https://gerrit.libreoffice.org/17032
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/table/defaultinputhandler.hxx | 4 | ||||
-rw-r--r-- | svtools/inc/table/tablecontrol.hxx | 28 |
2 files changed, 0 insertions, 32 deletions
diff --git a/svtools/inc/table/defaultinputhandler.hxx b/svtools/inc/table/defaultinputhandler.hxx index 58aa55e4a350..af4f668e4fc5 100644 --- a/svtools/inc/table/defaultinputhandler.hxx +++ b/svtools/inc/table/defaultinputhandler.hxx @@ -50,10 +50,6 @@ namespace svt { namespace table virtual bool KeyInput ( ITableControl& _rControl, const KeyEvent& rKEvt ) SAL_OVERRIDE; virtual bool GetFocus ( ITableControl& _rControl ) SAL_OVERRIDE; virtual bool LoseFocus ( ITableControl& _rControl ) SAL_OVERRIDE; - virtual bool RequestHelp ( ITableControl& _rControl, const HelpEvent& rHEvt ) SAL_OVERRIDE; - virtual bool Command ( ITableControl& _rControl, const CommandEvent& rCEvt ) SAL_OVERRIDE; - virtual bool PreNotify ( ITableControl& _rControl, NotifyEvent& rNEvt ) SAL_OVERRIDE; - virtual bool Notify ( ITableControl& _rControl, NotifyEvent& rNEvt ) SAL_OVERRIDE; }; diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx index 22242efc5304..6fe21b375bf9 100644 --- a/svtools/inc/table/tablecontrol.hxx +++ b/svtools/inc/table/tablecontrol.hxx @@ -106,32 +106,6 @@ namespace svt { namespace table */ bool GoTo( ColPos _nColumnPos, RowPos _nRow); - /** moves the active cell to the given column, by keeping the active row - - @return - <sal_True/> if the move was successful, <FALSE/> otherwise. Usual - failure conditions include some other instance vetoing the move, - or impossibility to execute the move at all (for instance because - of invalid coordinates). - */ - inline bool GoToColumn( ColPos _nColumn ) - { - return GoTo( _nColumn, GetCurrentRow() ); - } - - /** moves the active cell to the given row, by keeping the active column - - @return - <sal_True/> if the move was successful, <FALSE/> otherwise. Usual - failure conditions include some other instance vetoing the move, - or impossibility to execute the move at all (for instance because - of invalid coordinates). - */ - bool GoToRow( RowPos _nRow ) - { - return GoTo( GetCurrentColumn(), _nRow ); - } - SVT_DLLPRIVATE virtual void Resize() SAL_OVERRIDE; void Select(); @@ -173,7 +147,6 @@ namespace svt { namespace table virtual bool ConvertPointToControlIndex( sal_Int32& _rnIndex, const Point& _rPoint ) SAL_OVERRIDE; virtual long GetRowCount() const SAL_OVERRIDE; virtual long GetColumnCount() const SAL_OVERRIDE; - virtual bool HasRowHeader() const SAL_OVERRIDE; virtual bool ConvertPointToCellAddress( sal_Int32& _rnRow, sal_Int32& _rnColPos, const Point& _rPoint ) SAL_OVERRIDE; virtual Rectangle calcHeaderRect( bool _bIsColumnBar, bool _bOnScreen = true ) SAL_OVERRIDE; virtual Rectangle calcHeaderCellRect( bool _bIsColumnBar, sal_Int32 nPos) SAL_OVERRIDE; @@ -186,7 +159,6 @@ namespace svt { namespace table virtual OUString GetRowName(sal_Int32 _nIndex) const SAL_OVERRIDE; virtual OUString GetColumnDescription( sal_uInt16 _nColumnPos ) const SAL_OVERRIDE; virtual OUString GetColumnName( sal_Int32 _nIndex ) const SAL_OVERRIDE; - virtual css::uno::Any GetCellContent( sal_Int32 _nRowPos, sal_Int32 _nColPos) const SAL_OVERRIDE; virtual bool HasRowHeader() SAL_OVERRIDE; virtual bool HasColHeader() SAL_OVERRIDE; virtual OUString GetAccessibleCellText(sal_Int32 _nRowPos, sal_Int32 _nColPos) const SAL_OVERRIDE; |