diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-03-02 16:08:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-03-02 22:40:19 +0100 |
commit | 884df9f66ce5d28af256224e830651da2186af5d (patch) | |
tree | 3d47b930edaa7d89c9cd81295b2ae33279caa4be /dbaccess/source/ui/tabledesign/TableController.cxx | |
parent | 7823ea5a6b63f4617684ebbbe2822d12e0323511 (diff) |
weld OSaveAsDlg
Change-Id: I745cdca8b79308db27ccd4fd2c9d4b557e3f6fce
Reviewed-on: https://gerrit.libreoffice.org/68624
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableController.cxx')
-rw-r--r-- | dbaccess/source/ui/tabledesign/TableController.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index b5c3aab719b9..e8335fbce67e 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -301,13 +301,13 @@ bool OTableController::doSaveDoc(bool _bSaveAs) aDefaultName = ::dbtools::createUniqueName(xTables,aDefaultName); DynamicTableOrQueryNameCheck aNameChecker( getConnection(), CommandType::TABLE ); - ScopedVclPtrInstance< OSaveAsDlg > aDlg( getView(), CommandType::TABLE, getORB(), getConnection(), aDefaultName, aNameChecker, SADFlags::NONE ); - if ( aDlg->Execute() != RET_OK ) + OSaveAsDlg aDlg(getFrameWeld(), CommandType::TABLE, getORB(), getConnection(), aDefaultName, aNameChecker, SADFlags::NONE); + if (aDlg.run() != RET_OK) return false; - m_sName = aDlg->getName(); - sCatalog = aDlg->getCatalog(); - sSchema = aDlg->getSchema(); + m_sName = aDlg.getName(); + sCatalog = aDlg.getCatalog(); + sSchema = aDlg.getSchema(); } // did we get a name |