summaryrefslogtreecommitdiff
path: root/svl/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-04 16:08:54 +0200
committerNoel Grandin <noel@peralex.com>2013-06-05 08:13:23 +0200
commit546fa9f365ef1b19abe6739d2f42389f82576437 (patch)
tree3d12482a228e71df0deebeab032212bb1d944484 /svl/source/inc
parent8c799984cc5b76c20baccffea818e07c440c2330 (diff)
fdo#46808, Convert XMultiServiceFactory in svl module
Change-Id: Ia51d748af3b29a6021e6f5307a60d87f17917f24
Diffstat (limited to 'svl/source/inc')
-rw-r--r--svl/source/inc/fsfactory.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svl/source/inc/fsfactory.hxx b/svl/source/inc/fsfactory.hxx
index 2c08995f61ac..4e5294ad578f 100644
--- a/svl/source/inc/fsfactory.hxx
+++ b/svl/source/inc/fsfactory.hxx
@@ -22,18 +22,19 @@
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase2.hxx>
class FSStorageFactory : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XSingleServiceFactory,
::com::sun::star::lang::XServiceInfo >
{
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
public:
- FSStorageFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory )
- : m_xFactory( xFactory )
+ FSStorageFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
+ : m_xContext( xContext )
{
- OSL_ENSURE( xFactory.is(), "No service manager is provided!\n" );
+ OSL_ENSURE( xContext.is(), "No service manager is provided!\n" );
}
static ::com::sun::star::uno::Sequence< OUString > SAL_CALL