diff options
| author | Noel Grandin <noel@peralex.com> | 2013-01-04 11:58:23 +0200 |
|---|---|---|
| committer | Noel Grandin <noel@peralex.com> | 2013-01-09 08:08:15 +0200 |
| commit | e88e974e7cd9d92ca338ba6c56baa0aa9a4b0636 (patch) | |
| tree | d721f3a93bf55680e5d10c8c421124fc0d53bb38 /dbaccess/source/ui/dlg/UserAdmin.cxx | |
| parent | ea638e605616a2db08f88e2e14d4928854834694 (diff) | |
fdo#46808, convert OGenericAdministrationPage::setServiceFactory
... to XComponentContext.
Change-Id: I8f9a811dafc831db59d6a462f8b405d7568e34cf
Diffstat (limited to 'dbaccess/source/ui/dlg/UserAdmin.cxx')
| -rw-r--r-- | dbaccess/source/ui/dlg/UserAdmin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/UserAdmin.cxx b/dbaccess/source/ui/dlg/UserAdmin.cxx index 54d63191dc76..a79399a009fc 100644 --- a/dbaccess/source/ui/dlg/UserAdmin.cxx +++ b/dbaccess/source/ui/dlg/UserAdmin.cxx @@ -271,7 +271,7 @@ IMPL_LINK( OUserAdmin, UserHdl, PushButton *, pButton ) } catch(const SQLException& e) { - ::dbaui::showError(::dbtools::SQLExceptionInfo(e),this, comphelper::getComponentContext(m_xORB)); + ::dbaui::showError(::dbtools::SQLExceptionInfo(e), this, m_xORB); return 0; } catch(Exception& ) @@ -307,7 +307,7 @@ void OUserAdmin::fillWindows(::std::vector< ISaveValueWrapper* >& /*_rControlLis // ----------------------------------------------------------------------------- void OUserAdmin::implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue) { - m_TableCtrl.setComponentContext(comphelper::getComponentContext(m_xORB)); + m_TableCtrl.setComponentContext(m_xORB); try { if ( !m_xConnection.is() && m_pAdminDialog ) @@ -334,7 +334,7 @@ void OUserAdmin::implInitControls(const SfxItemSet& _rSet, sal_Bool _bSaveValue) } catch(const SQLException& e) { - ::dbaui::showError(::dbtools::SQLExceptionInfo(e),this,comphelper::getComponentContext(m_xORB)); + ::dbaui::showError(::dbtools::SQLExceptionInfo(e), this, m_xORB); } OGenericAdministrationPage::implInitControls(_rSet, _bSaveValue); |
