diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-25 12:03:15 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-25 12:03:15 +0000 |
commit | fc46388e299ffdec4bdc63b07a5b33e31ee60d89 (patch) | |
tree | 3bbd2bdef4af4f3fea3cbdc6ffba2a51c34455de /dbaccess | |
parent | d399d5728638b2dbd44e6024f6b3c2d9b7bb2f49 (diff) |
INTEGRATION: CWS dba30d (1.20.30); FILE MERGED
2008/05/29 11:27:02 fs 1.20.30.1: during #i80943#: refactoring: IController now passed around as reference, not as pointer
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableUndo.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableUndo.cxx b/dbaccess/source/ui/tabledesign/TableUndo.cxx index e6a67fc0713a..2d8ec4d49994 100644 --- a/dbaccess/source/ui/tabledesign/TableUndo.cxx +++ b/dbaccess/source/ui/tabledesign/TableUndo.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: TableUndo.cxx,v $ - * $Revision: 1.20 $ + * $Revision: 1.21 $ * * This file is part of OpenOffice.org. * @@ -97,8 +97,8 @@ void OTableDesignUndoAct::Undo() // Wenn erstes Undo zurueckgenommen wurde, ist Doc nicht modifiziert worden if( m_pTabDgnCtrl->m_nCurUndoActId == 0 ) { - m_pTabDgnCtrl->GetView()->getController()->setModified(sal_False); - m_pTabDgnCtrl->GetView()->getController()->InvalidateFeature(SID_SAVEDOC); + m_pTabDgnCtrl->GetView()->getController().setModified(sal_False); + m_pTabDgnCtrl->GetView()->getController().InvalidateFeature(SID_SAVEDOC); } } @@ -111,8 +111,8 @@ void OTableDesignUndoAct::Redo() // Wenn Redo fuer erste Undo-Action, muss Modified-Flag wieder gesetzt werden if( m_pTabDgnCtrl->m_nCurUndoActId > 0 ) { - m_pTabDgnCtrl->GetView()->getController()->setModified(sal_True); - m_pTabDgnCtrl->GetView()->getController()->InvalidateFeature(SID_SAVEDOC); + m_pTabDgnCtrl->GetView()->getController().setModified(sal_True); + m_pTabDgnCtrl->GetView()->getController().InvalidateFeature(SID_SAVEDOC); } } //============================================================================== @@ -151,7 +151,7 @@ void OTableDesignCellUndoAct::Undo() CellControllerRef xController = m_pTabDgnCtrl->Controller(); if ( xController.Is() ) xController->ClearModified(); - m_pTabDgnCtrl->GetView()->getController()->setModified(sal_False); + m_pTabDgnCtrl->GetView()->getController().setModified(sal_False); } |