From 2cf0f6ea36e1525193544258eef2828a54345510 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Nov 2012 08:16:06 +0200 Subject: fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactory Change-Id: Iea7b21621c5d341468976507684a9c01f0822034 --- ucb/source/sorter/sortdynres.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ucb/source/sorter/sortdynres.hxx') diff --git a/ucb/source/sorter/sortdynres.hxx b/ucb/source/sorter/sortdynres.hxx index 75d9ae976cc3..6ba2a77c14a7 100644 --- a/ucb/source/sorter/sortdynres.hxx +++ b/ucb/source/sorter/sortdynres.hxx @@ -20,7 +20,7 @@ #ifndef _SORTDYNRES_HXX #define _SORTDYNRES_HXX -#include +#include #include #include #include @@ -47,7 +47,7 @@ namespace cppu { #define SEQUENCE com::sun::star::uno::Sequence #define EVENTOBJECT com::sun::star::lang::EventObject #define XEVENTLISTENER com::sun::star::lang::XEventListener -#define XMULTISERVICEFACTORY com::sun::star::lang::XMultiServiceFactory +#define XCOMPONENTCONTEXT com::sun::star::uno::XComponentContext #define XRESULTSET com::sun::star::sdbc::XResultSet #define SQLEXCEPTION com::sun::star::sdbc::SQLException #define XANYCOMPAREFACTORY com::sun::star::ucb::XAnyCompareFactory @@ -77,7 +77,7 @@ class SortedDynamicResultSet: REFERENCE < XDYNAMICRESULTSET > mxOriginal; SEQUENCE < NUMBERED_SORTINGINFO > maOptions; REFERENCE < XANYCOMPAREFACTORY > mxCompFac; - REFERENCE < XMULTISERVICEFACTORY > mxSMgr; + REFERENCE < XCOMPONENTCONTEXT > m_xContext; SortedResultSet* mpOne; SortedResultSet* mpTwo; @@ -97,7 +97,7 @@ public: SortedDynamicResultSet( const REFERENCE < XDYNAMICRESULTSET > &xOriginal, const SEQUENCE < NUMBERED_SORTINGINFO > &aOptions, const REFERENCE < XANYCOMPAREFACTORY > &xCompFac, - const REFERENCE < XMULTISERVICEFACTORY > &xSMgr ); + const REFERENCE < XCOMPONENTCONTEXT > &rxContext ); ~SortedDynamicResultSet(); @@ -211,12 +211,12 @@ class SortedDynamicResultSetFactory: public com::sun::star::ucb::XSortedDynamicResultSetFactory { - REFERENCE< XMULTISERVICEFACTORY > mxSMgr; + REFERENCE< XCOMPONENTCONTEXT > m_xContext; public: SortedDynamicResultSetFactory( - const REFERENCE< XMULTISERVICEFACTORY > & rSMgr); + const REFERENCE< XCOMPONENTCONTEXT > & rxContext); ~SortedDynamicResultSetFactory(); -- cgit