summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/datasourceconnector.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-23 14:31:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-23 17:58:04 +0200
commit76b81269dd8c13a238f99f8a4ee72952c29f847e (patch)
tree7bfcea9876f3b069e59e591cf6fbfc6ebf01fb4a /dbaccess/source/ui/misc/datasourceconnector.cxx
parent8051bdea4fa3fc75f9cb08facf79e64a24cd8bd9 (diff)
we have a suitable parent window at this point
Change-Id: I018ebec7fcad946613b7f3b8a4755e28909b7ce9 Reviewed-on: https://gerrit.libreoffice.org/59505 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/misc/datasourceconnector.cxx')
-rw-r--r--dbaccess/source/ui/misc/datasourceconnector.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/datasourceconnector.cxx b/dbaccess/source/ui/misc/datasourceconnector.cxx
index 664e7bf20601..fc01797a3134 100644
--- a/dbaccess/source/ui/misc/datasourceconnector.cxx
+++ b/dbaccess/source/ui/misc/datasourceconnector.cxx
@@ -36,6 +36,7 @@
#include <vcl/stdtext.hxx>
#include <vcl/button.hxx>
#include <svl/filenotation.hxx>
+#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
#include <cppuhelper/exc_hlp.hxx>
#include <strings.hrc>
@@ -128,7 +129,7 @@ namespace dbaui
if ( !xHandler.is() )
{
// instantiate the default SDB interaction handler
- xHandler.set( InteractionHandler::createWithParent(m_xContext, nullptr), UNO_QUERY );
+ xHandler.set( InteractionHandler::createWithParent(m_xContext, VCLUnoHelper::GetInterface(m_pErrorMessageParent)), UNO_QUERY );
}
xConnection = xConnectionCompletion->connectWithCompletion(xHandler);