summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-26 08:13:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-26 11:10:41 +0000
commit5cc2997f0e9b20a5aa91b61dea6070189b0a584a (patch)
tree05e10a2a561512b1e7eca85af67b958e9953dc09 /svtools
parent0143300979ecf2d25deebf69c7c9d52217204fa8 (diff)
callcatcher: remove some unused code
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/table/tablecontrol.hxx36
-rw-r--r--svtools/source/table/tablecontrol.cxx6
2 files changed, 0 insertions, 42 deletions
diff --git a/svtools/inc/svtools/table/tablecontrol.hxx b/svtools/inc/svtools/table/tablecontrol.hxx
index 8856d597253a..cb2ddaf8d44b 100644
--- a/svtools/inc/svtools/table/tablecontrol.hxx
+++ b/svtools/inc/svtools/table/tablecontrol.hxx
@@ -106,42 +106,6 @@ namespace svt { namespace table
*/
sal_Int32 GetCurrentColumn() const;
- /** 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);
-
- /** 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();
virtual void Select();
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index 2c964d653b62..a5792aabfa07 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -161,12 +161,6 @@ namespace svt { namespace table
}
// -----------------------------------------------------------------------------------------------------------------
- bool TableControl::GoTo( ColPos _nColumn, RowPos _nRow )
- {
- return m_pImpl->goTo( _nColumn, _nRow );
- }
-
- // -----------------------------------------------------------------------------------------------------------------
sal_Bool TableControl::GoToCell(sal_Int32 _nColPos, sal_Int32 _nRowPos)
{
return m_pImpl->goTo( _nColPos, _nRowPos );