diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-15 20:41:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-20 21:25:12 +0200 |
commit | 024a57017384a61b4a61056f1de275f44642bef3 (patch) | |
tree | 6d9896c34326c1ef79325dd6e8d8730a40df5c4a /dbaccess/source/ui/uno/unoDirectSql.cxx | |
parent | e0750697dcd30848411a162453813c5b0fafc44b (diff) |
drop newly unnecessary OGenericUnoDialog::Dialog
Change-Id: If047d08cea93fdfacff9ee00c69cf57ba08c916c
Reviewed-on: https://gerrit.libreoffice.org/78972
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/uno/unoDirectSql.cxx')
-rw-r--r-- | dbaccess/source/ui/uno/unoDirectSql.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/uno/unoDirectSql.cxx b/dbaccess/source/ui/uno/unoDirectSql.cxx index f3af4f40640e..07644a9c52cf 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.cxx +++ b/dbaccess/source/ui/uno/unoDirectSql.cxx @@ -78,7 +78,7 @@ namespace dbaui IMPLEMENT_PROPERTYCONTAINER_DEFAULTS( ODirectSQLDialog ) - svt::OGenericUnoDialog::Dialog ODirectSQLDialog::createDialog(const css::uno::Reference<css::awt::XWindow>& rParent) + std::unique_ptr<weld::DialogController> ODirectSQLDialog::createDialog(const css::uno::Reference<css::awt::XWindow>& rParent) { // obtain all the objects needed for the dialog Reference< XConnection > xConnection = m_xActiveConnection; @@ -99,10 +99,10 @@ namespace dbaui if (!xConnection.is()) { // can't create the dialog if I have improper settings - return svt::OGenericUnoDialog::Dialog(); + return nullptr; } - return svt::OGenericUnoDialog::Dialog(std::make_unique<DirectSQLDialog>(pParent, xConnection)); + return std::make_unique<DirectSQLDialog>(pParent, xConnection); } void ODirectSQLDialog::implInitialize(const Any& _rValue) |