summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 15:06:42 +0200
committerNoel Grandin <noel@peralex.com>2016-01-14 08:50:44 +0200
commit5adcc4f6da434af9b6baeba06699321ceaa15478 (patch)
treedac78d80b0ef4c32320bcf593178c38bf4bccdbf /svtools/inc
parentde70170ace52c0266bde7b5d6cb9b6958db53c43 (diff)
loplugin:unusedmethods unused return value in svtools
Change-Id: Iee0fc65d6ae97296e3093c843d856fa13d875bf7
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/table/tablecontrol.hxx8
-rw-r--r--svtools/inc/table/tablecontrolinterface.hxx2
2 files changed, 2 insertions, 8 deletions
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx
index 1038ac7aaf04..c09cacb55ff4 100644
--- a/svtools/inc/table/tablecontrol.hxx
+++ b/svtools/inc/table/tablecontrol.hxx
@@ -97,14 +97,8 @@ namespace svt { namespace table
sal_Int32 GetCurrentColumn() const override;
/** activates the cell at the given position
-
- @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 GoTo( ColPos _nColumnPos, RowPos _nRow);
+ void GoTo( ColPos _nColumnPos, RowPos _nRow);
SVT_DLLPRIVATE virtual void Resize() override;
void Select();
diff --git a/svtools/inc/table/tablecontrolinterface.hxx b/svtools/inc/table/tablecontrolinterface.hxx
index f2af7146178c..95b6d49d6ab8 100644
--- a/svtools/inc/table/tablecontrolinterface.hxx
+++ b/svtools/inc/table/tablecontrolinterface.hxx
@@ -210,7 +210,7 @@ namespace svt { namespace table
virtual RowPos getCurrentRow() const = 0;
/// activates the given cell
- virtual bool activateCell( ColPos const i_col, RowPos const i_row ) = 0;
+ virtual void activateCell( ColPos const i_col, RowPos const i_row ) = 0;
/// retrieves the size of the table window, in pixels
virtual ::Size getTableSizePixel() const = 0;