From 7470cc532fe408dc9d8735cde0e2eb5bb62fd69c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Nov 2012 11:00:51 +0200 Subject: fdo#46808, Adapt reflection::ProxyFactory UNO service to new style The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba --- connectivity/inc/connectivity/ConnectionWrapper.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'connectivity/inc') diff --git a/connectivity/inc/connectivity/ConnectionWrapper.hxx b/connectivity/inc/connectivity/ConnectionWrapper.hxx index 4c3966b0b27a..df89160d5c0d 100644 --- a/connectivity/inc/connectivity/ConnectionWrapper.hxx +++ b/connectivity/inc/connectivity/ConnectionWrapper.hxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include "connectivity/CommonTools.hxx" #include "connectivity/dbtoolsdllapi.hxx" @@ -52,7 +53,7 @@ namespace connectivity virtual ~OConnectionWrapper(); void setDelegation(::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >& _rxProxyConnection,oslInterlockedCount& _rRefCount); void setDelegation(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection - ,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>& _xORB + ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext ,oslInterlockedCount& _rRefCount); // must be called from derived classes void disposing(); -- cgit