From 7e1eb03a39b776adf0f479e2801214b1e2d0f6cc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Feb 2015 17:15:02 +0000 Subject: callcatcher: remove some more recently discovered unused methods Change-Id: Ib01e444b24ad9288970066a47f3fcf3dbee1fc49 --- dbaccess/source/ui/inc/TableController.hxx | 4 ---- dbaccess/source/ui/tabledesign/TEditControl.cxx | 20 -------------------- dbaccess/source/ui/tabledesign/TEditControl.hxx | 3 --- dbaccess/source/ui/tabledesign/TableController.cxx | 11 ----------- 4 files changed, 38 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx index d44aa341d950..578eb991efa6 100644 --- a/dbaccess/source/ui/inc/TableController.hxx +++ b/dbaccess/source/ui/inc/TableController.hxx @@ -133,10 +133,6 @@ namespace dbaui static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&); - - void Load(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxIn); - void Save(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOut); - protected: void startTableListening(); void stopTableListening(); diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx index ce169f3837d2..ad3e5287a3f1 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.cxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx @@ -129,15 +129,6 @@ void OTableEditorCtrl::Init() RowInserted(0, m_pRowList->size(), true); } -void OTableEditorCtrl::UpdateAll() -{ - RowRemoved(0, GetRowCount(), false); - m_nDataPos = 0; - - InvalidateFeatures(); - Invalidate(); -} - OTableEditorCtrl::OTableEditorCtrl(vcl::Window* pWindow) :OTableRowView(pWindow) ,pNameCell(NULL) @@ -716,17 +707,6 @@ void OTableEditorCtrl::InvalidateFeatures() GetView()->getController().InvalidateFeature(SID_SAVEDOC); } -void OTableEditorCtrl::Undo() -{ - - InvalidateFeatures(); -} - -void OTableEditorCtrl::Redo() -{ - InvalidateFeatures(); -} - void OTableEditorCtrl::CopyRows() { // set to the right row and save it diff --git a/dbaccess/source/ui/tabledesign/TEditControl.hxx b/dbaccess/source/ui/tabledesign/TEditControl.hxx index cd9f73b4f98c..bfae245eca31 100644 --- a/dbaccess/source/ui/tabledesign/TEditControl.hxx +++ b/dbaccess/source/ui/tabledesign/TEditControl.hxx @@ -100,8 +100,6 @@ namespace dbaui virtual void CellModified() SAL_OVERRIDE; virtual bool SaveModified() SAL_OVERRIDE; // is called before changing a cell (false prevents change) - void Undo(); - void Redo(); virtual OUString GetCellText(long nRow, sal_uInt16 nColId) const SAL_OVERRIDE; virtual sal_uInt32 GetTotalCellWidth(long nRow, sal_uInt16 nColId) SAL_OVERRIDE; @@ -125,7 +123,6 @@ namespace dbaui OTableEditorCtrl(vcl::Window* pParentWin); virtual ~OTableEditorCtrl(); virtual bool CursorMoving(long nNewRow, sal_uInt16 nNewCol) SAL_OVERRIDE; - void UpdateAll(); SfxUndoManager& GetUndoManager() const; void SetDescrWin( OTableFieldDescWin* pWin ) diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 226c7313b925..493527cd47a8 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -643,17 +643,6 @@ void SAL_CALL OTableController::disposing( const EventObject& _rSource ) throw(R OTableController_BASE::disposing( _rSource ); } -void OTableController::Save(const Reference< XObjectOutputStream>& _rxOut) -{ - OStreamSection aSection(_rxOut.get()); - -} - -void OTableController::Load(const Reference< XObjectInputStream>& _rxIn) -{ - OStreamSection aSection(_rxIn.get()); -} - void OTableController::losingConnection( ) { // let the base class do it's reconnect -- cgit