summaryrefslogtreecommitdiff
path: root/vcl/source/components
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-19 10:17:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-06-20 14:44:03 +0200
commit1cdb792368ed26d58828eead2848422e7dec4c7d (patch)
treea268bcfa0315ca6de5d55bd83f0023d6372194e3 /vcl/source/components
parentb11de026cb8eb520dc410fd974581e780ecbef92 (diff)
Make VCLSession into a OneInstanceFactory
...so no need to hold the one instance as ImplSVData::xSMClient. Nor as VCLSession::pOneInstance, after changing SalSession::SetCallback to carry VCLSession* as user data. Change-Id: I3180d72035e3da7aa164a20309fbaeccecbb9b65
Diffstat (limited to 'vcl/source/components')
-rw-r--r--vcl/source/components/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx
index b482431f24d7..2f0027d17868 100644
--- a/vcl/source/components/factory.cxx
+++ b/vcl/source/components/factory.cxx
@@ -95,7 +95,7 @@ extern "C" {
Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory;
if( vcl_session_getImplementationName().equalsAscii( pImplementationName ) )
{
- xFactory = ::cppu::createSingleFactory(
+ xFactory = ::cppu::createOneInstanceFactory(
xMgr, vcl_session_getImplementationName(), vcl_session_createInstance,
vcl_session_getSupportedServiceNames() );
}