diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-02-09 17:26:40 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-02-09 17:26:40 +0100 |
commit | d8352bc6e00ae778fb060a0124ee98db3c76d6cf (patch) | |
tree | cf18b5a4b49d13b67d2b1c6ffbb7d137f55c01e4 /dbaccess/source/ui/tabledesign/TableController.cxx | |
parent | 05e2a9183ccb47ed1a20df5e72c26353aed985eb (diff) |
autorecovery: make m_pView a private member of the GenericController, with defined access methods
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 1eed02543cda..4296082b1c7b 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -207,7 +207,7 @@ void OTableController::stopTableListening() void OTableController::disposing() { OTableController_BASE::disposing(); - m_pView = NULL; + clearView(); m_vRowList.clear(); } @@ -579,7 +579,7 @@ void OTableController::impl_initialize() // ----------------------------------------------------------------------------- sal_Bool OTableController::Construct(Window* pParent) { - m_pView = new OTableDesignView( pParent, getORB(), *this ); + setView( * new OTableDesignView( pParent, getORB(), *this ) ); OTableController_BASE::Construct(pParent); // m_pView->Construct(); // m_pView->Show(); |