diff options
author | Noel Grandin <noel@peralex.com> | 2012-12-06 14:15:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2012-12-06 14:16:44 +0200 |
commit | 19854e653be1dc01f5b655fca851a6e3a651a940 (patch) | |
tree | f19e921125d72db2c132742d3d0a2ea0c66cff79 /dbaccess/source/ui/dlg/RelationDlg.cxx | |
parent | 8909b2c384154baa2174aa53b433b12b02871e75 (diff) |
fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
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& ) { |