diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/RelationDlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/RelationDlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index d8ef4517784e..ae94376ad0fa 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -36,6 +36,7 @@ #include "RTableConnectionData.hxx" #include "RelationControl.hxx" #include <cppuhelper/exc_hlp.hxx> +#include <comphelper/processfactory.hxx> #include <algorithm> @@ -209,7 +210,7 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ ) { ::dbaui::showError( SQLExceptionInfo( ::cppu::getCaughtException() ), this, - static_cast<OJoinTableView*>(GetParent())->getDesignView()->getController().getORB()); + comphelper::getComponentContext(static_cast<OJoinTableView*>(GetParent())->getDesignView()->getController().getORB())); } catch( const Exception& ) { |