diff options
-rw-r--r-- | dbaccess/source/ui/misc/datasourceconnector.cxx | 3 |
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); |