diff options
Diffstat (limited to 'remotebridges')
-rw-r--r-- | remotebridges/examples/officeclient.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
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 <com/sun/star/uno/XNamingService.hpp> -#include <com/sun/star/registry/XImplementationRegistration.hpp> +#include <com/sun/star/registry/ImplementationRegistration.hpp> #include <com/sun/star/connection/XConnector.hpp> @@ -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() ) { |