summaryrefslogtreecommitdiff
path: root/vcl/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-10-31 09:22:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-10-31 09:22:53 +0100
commitced1151a1ad00fb2913a4c0f54e4544f4e566c05 (patch)
tree416403e0c91acc4cbfe6219f1930ea0273a856e0 /vcl/test
parent6bc62f4f43c7458399169ddb2cba30ae4188b1bd (diff)
Get rid of vcl::unohelper::GetMultiServiceFactory
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
Diffstat (limited to 'vcl/test')
-rw-r--r--vcl/test/canvasbitmaptest.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/test/canvasbitmaptest.cxx b/vcl/test/canvasbitmaptest.cxx
index 98a7d2471221..b49659032ab4 100644
--- a/vcl/test/canvasbitmaptest.cxx
+++ b/vcl/test/canvasbitmaptest.cxx
@@ -78,7 +78,9 @@ SAL_IMPLEMENT_MAIN()
rtl::OUString( "applicat.rdb" ),
sal_True );
- InitVCL( xMS );
+ comphelper::setProcessServiceFactory( xMS );
+
+ InitVCL();
::Main();
DeInitVCL();