diff options
Diffstat (limited to 'fpicker/test/svdem.cxx')
-rw-r--r-- | fpicker/test/svdem.cxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/fpicker/test/svdem.cxx b/fpicker/test/svdem.cxx index 4a88b271cb48..05f3e745135c 100644 --- a/fpicker/test/svdem.cxx +++ b/fpicker/test/svdem.cxx @@ -62,14 +62,12 @@ void Main(); SAL_IMPLEMENT_MAIN() { - Reference< XMultiServiceFactory > xMS; - xMS = cppu::createRegistryServiceFactory( OUString( "applicat.rdb" ), sal_True ); - - com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory> xMSch; - com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > xComponentContext; - xComponentContext = cppu::defaultBootstrap_InitialComponentContext(); - xMSch.set(xComponentContext->getServiceManager(), com::sun::star::uno::UNO_QUERY); - comphelper::setProcessServiceFactory(xMSch); + Reference< XMultiServiceFactory > xMS = cppu::createRegistryServiceFactory( OUString( "applicat.rdb" ), sal_True ); + + css::uno::Reference< css::uno::XComponentContext > xComponentContext = cppu::defaultBootstrap_InitialComponentContext(); + css::uno::Reference< css::lang::XMultiServiceFactory> xMSch; + xMSch.set(xComponentContext->getServiceManager(), css::uno::UNO_QUERY); + comphelper::setProcessServiceFactory(xMSch); comphelper::setProcessServiceFactory(xMS); |