summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-03 11:52:40 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-02-03 11:52:40 +0100
commited853a88ff6e0bfae048bb19615ab2cd255f07eb (patch)
treeb97538648216034ac9641aa91a2530cde69152b7 /dbaccess
parent28b38d73e582a9909be16101ec0bb93a41b86f13 (diff)
autorecovery: re-work the table wizard so that it does not open the table itself, but uses XDatabaseDocumentUI
Consequently, it does not need to return the created model/controller anymore. This way, the application controller has full control over its sub components, which didn't work reliably before. Other wizards (query/form/report) are to follow. For this purpose, they're also to be based on the newly introduced DatabaseObjectWizard class.
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 076b4429abd4..cc040cabe11c 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -2083,7 +2083,8 @@ void OApplicationController::newElementWithPilot( ElementType _eType )
else
xComponent = aHelper->newTableWithPilot();
- onDocumentOpened( ::rtl::OUString(), _eType, E_OPEN_DESIGN, xComponent, NULL );
+ // no need for onDocumentOpened, the table wizard opens the created table by using
+ // XDatabaseDocumentUI::loadComponent method.
}
}
break;