From 7634d064adc2c773288cec751674ff691de20b2b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Aug 2012 10:30:08 +0200 Subject: fdo#46808, Adapt UNO service registry::ImplementationRegistration Change-Id: I77d28e7575e18e682f8360f6e416954dfb7a4e30 --- remotebridges/examples/officeclient.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'remotebridges') diff --git a/remotebridges/examples/officeclient.cxx b/remotebridges/examples/officeclient.cxx index d99b7837c096..c672dd8463c6 100644 --- a/remotebridges/examples/officeclient.cxx +++ b/remotebridges/examples/officeclient.cxx @@ -24,7 +24,7 @@ #include -#include +#include #include @@ -94,10 +94,7 @@ void OfficeClientMain::registerServices( ) // register services. // Note : this needs to be done only once and is in general done by the setup Reference < XImplementationRegistration > rImplementationRegistration( - - m_xSMgr->createInstance( - OUString("com.sun.star.registry.ImplementationRegistration")), - UNO_QUERY ); + ImplementationRegistration::create(m_xSMgr) ); if( ! rImplementationRegistration.is() ) { -- cgit