summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/inc/linkeddocuments.hxx
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/inc/linkeddocuments.hxx
parent8909b2c384154baa2174aa53b433b12b02871e75 (diff)
fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
Diffstat (limited to 'dbaccess/source/ui/inc/linkeddocuments.hxx')
-rw-r--r--dbaccess/source/ui/inc/linkeddocuments.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/inc/linkeddocuments.hxx b/dbaccess/source/ui/inc/linkeddocuments.hxx
index 8d2bc875e415..fc2e6087c0d8 100644
--- a/dbaccess/source/ui/inc/linkeddocuments.hxx
+++ b/dbaccess/source/ui/inc/linkeddocuments.hxx
@@ -23,7 +23,7 @@
#include "AppElementType.hxx"
#include <com/sun/star/container/XNameAccess.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbc/XConnection.hpp>
@@ -46,8 +46,8 @@ namespace dbaui
class OLinkedDocumentsAccess
{
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
- m_xORB;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
+ m_xContext;
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >
m_xDocumentContainer;
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>
@@ -63,7 +63,7 @@ namespace dbaui
OLinkedDocumentsAccess(
Window* _pDialogParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::application::XDatabaseDocumentUI >& i_rDocumentUI,
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxContainer,
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection>& _xConnection,
const ::rtl::OUString& _sDataSourceName