diff options
-rw-r--r-- | dbaccess/source/ui/inc/TableController.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.cxx | 20 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TEditControl.hxx | 3 | ||||
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 11 | ||||
-rw-r--r-- | unusedcode.easy | 5 |
5 files changed, 0 insertions, 43 deletions
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 diff --git a/unusedcode.easy b/unusedcode.easy index 2bbed0e6a2a2..0d0ec39844fd 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -206,11 +206,6 @@ dbaui::OPropEditCtrl::SetSpecialReadOnly(bool) dbaui::OPropListBoxCtrl::SetSpecialReadOnly(bool) dbaui::OQueryViewSwitch::resizeDocumentView(Rectangle&) dbaui::OQueryViewSwitch::setReadOnly(bool) -dbaui::OTableController::Load(com::sun::star::uno::Reference<com::sun::star::io::XObjectInputStream> const&) -dbaui::OTableController::Save(com::sun::star::uno::Reference<com::sun::star::io::XObjectOutputStream> const&) -dbaui::OTableEditorCtrl::Redo() -dbaui::OTableEditorCtrl::Undo() -dbaui::OTableEditorCtrl::UpdateAll() dbaui::OTableRowView::SetUpdatable(bool) dbaui::OTableWindowAccess::isEditable() const dbtools::FormattedColumnValue::getColumnUpdate() const |