diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdminDlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/UserAdminDlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx index 10de733105c2..f57256bf3f15 100644 --- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx +++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx @@ -30,6 +30,7 @@ #include "UserAdminDlg.hxx" #include <comphelper/componentcontext.hxx> +#include <comphelper/processfactory.hxx> #include <connectivity/dbmetadata.hxx> #include <cppuhelper/exc_hlp.hxx> #include <svl/eitem.hxx> @@ -114,7 +115,7 @@ DBG_NAME(OUserAdminDlg) } catch(const SQLException&) { - ::dbaui::showError( ::dbtools::SQLExceptionInfo( ::cppu::getCaughtException() ), GetParent(), getORB() ); + ::dbaui::showError( ::dbtools::SQLExceptionInfo( ::cppu::getCaughtException() ), GetParent(), ::comphelper::getComponentContext( getORB() ) ); return RET_CANCEL; } catch(const Exception&) |