diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-26 08:13:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-26 11:10:41 +0000 |
commit | 5cc2997f0e9b20a5aa91b61dea6070189b0a584a (patch) | |
tree | 05e10a2a561512b1e7eca85af67b958e9953dc09 | |
parent | 0143300979ecf2d25deebf69c7c9d52217204fa8 (diff) |
callcatcher: remove some unused code
-rw-r--r-- | svtools/inc/svtools/table/tablecontrol.hxx | 36 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 6 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 43 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 ); diff --git a/unusedcode.easy b/unusedcode.easy index fca03afb41c1..8d316591e685 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1651,7 +1651,6 @@ std::__cxx1998::vector<CntHTTPCookie*, std::allocator<CntHTTPCookie*> >::~vector std::__cxx1998::vector<OrderedEntry*, std::allocator<OrderedEntry*> >::~vector() std::__cxx1998::vector<ServiceInfo*, std::allocator<ServiceInfo*> >::~vector() std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector() -svt::table::TableControl::GoTo(int, int) svx::SvxShowCharSetItem::~SvxShowCharSetItem() svxform::DataNavigatorManager::GetChildWindowId() svxform::FmFilterNavigatorWinMgr::GetChildWindowId() |