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/querydesign/querycontroller.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/querydesign/querycontroller.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/querycontroller.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index ea956ad90ccc..48e02ec47111 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -1207,8 +1207,8 @@ bool OQueryController::askForNewName(const Reference<XNameAccess>& _xElements, b } DynamicTableOrQueryNameCheck aNameChecker( getConnection(), CommandType::QUERY ); - ScopedVclPtrInstance<OSaveAsDlg> aDlg( - getView(), + OSaveAsDlg aDlg( + getFrameWeld(), m_nCommandType, getORB(), getConnection(), @@ -1216,14 +1216,14 @@ bool OQueryController::askForNewName(const Reference<XNameAccess>& _xElements, b aNameChecker, SADFlags::NONE ); - bRet = ( aDlg->Execute() == RET_OK ); + bRet = ( aDlg.run() == RET_OK ); if ( bRet ) { - m_sName = aDlg->getName(); + m_sName = aDlg.getName(); if ( editingView() ) { - m_sUpdateCatalogName = aDlg->getCatalog(); - m_sUpdateSchemaName = aDlg->getSchema(); + m_sUpdateCatalogName = aDlg.getCatalog(); + m_sUpdateSchemaName = aDlg.getSchema(); } } } |