summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/indexdialog.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-12-06 14:15:55 +0200
committerNoel Grandin <noel@peralex.com>2012-12-06 14:16:44 +0200
commit19854e653be1dc01f5b655fca851a6e3a651a940 (patch)
treef19e921125d72db2c132742d3d0a2ea0c66cff79 /dbaccess/source/ui/dlg/indexdialog.cxx
parent8909b2c384154baa2174aa53b433b12b02871e75 (diff)
fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
Diffstat (limited to 'dbaccess/source/ui/dlg/indexdialog.cxx')
-rw-r--r--dbaccess/source/ui/dlg/indexdialog.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/dlg/indexdialog.cxx b/dbaccess/source/ui/dlg/indexdialog.cxx
index 4c7f2e06513c..d9b26902d984 100644
--- a/dbaccess/source/ui/dlg/indexdialog.cxx
+++ b/dbaccess/source/ui/dlg/indexdialog.cxx
@@ -173,7 +173,7 @@ DBG_NAME(DbaIndexDialog)
DbaIndexDialog::DbaIndexDialog( Window* _pParent, const Sequence< ::rtl::OUString >& _rFieldNames,
const Reference< XNameAccess >& _rxIndexes,
const Reference< XConnection >& _rxConnection,
- const Reference< XMultiServiceFactory >& _rxORB,sal_Int32 _nMaxColumnsInIndex)
+ const Reference< XComponentContext >& _rxContext,sal_Int32 _nMaxColumnsInIndex)
:ModalDialog( _pParent, ModuleRes(DLG_INDEXDESIGN))
,m_xConnection(_rxConnection)
,m_aGeometrySettings(E_DIALOG, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("dbaccess.tabledesign.indexdialog")))
@@ -190,7 +190,7 @@ DBG_NAME(DbaIndexDialog)
,m_pIndexes(NULL)
,m_pPreviousSelection(NULL)
,m_bEditAgain(sal_False)
- ,m_xORB(_rxORB)
+ ,m_xContext(_rxContext)
{
DBG_CTOR(DbaIndexDialog,NULL);
@@ -215,7 +215,7 @@ DBG_NAME(DbaIndexDialog)
}
catch(SQLException& e)
{
- ::dbaui::showError(SQLExceptionInfo(e),_pParent,_rxORB);
+ ::dbaui::showError(SQLExceptionInfo(e),_pParent,_rxContext);
}
catch(Exception&)
{
@@ -354,7 +354,7 @@ DBG_NAME(DbaIndexDialog)
updateToolbox();
if (aExceptionInfo.isValid())
- showError(aExceptionInfo, this, m_xORB);
+ showError(aExceptionInfo, this, m_xContext);
else
{
m_aUnique.SaveValue();
@@ -456,7 +456,7 @@ DBG_NAME(DbaIndexDialog)
catch(SQLException& e) { aExceptionInfo = SQLExceptionInfo(e); }
if (aExceptionInfo.isValid())
- showError(aExceptionInfo, this, m_xORB);
+ showError(aExceptionInfo, this, m_xContext);
else if (bSuccess && _bRemoveFromCollection)
{
SvTreeList* pModel = m_aIndexes.GetModel();
@@ -540,7 +540,7 @@ DBG_NAME(DbaIndexDialog)
catch(SQLException& e) { aExceptionInfo = SQLExceptionInfo(e); }
if (aExceptionInfo.isValid())
- showError(aExceptionInfo, this, m_xORB);
+ showError(aExceptionInfo, this, m_xContext);
else
m_aIndexes.SetEntryText(pSelected, aResetPos->sName);