summaryrefslogtreecommitdiff
path: root/remotebridges
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-08-21 10:30:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-27 15:40:07 +0200
commit7634d064adc2c773288cec751674ff691de20b2b (patch)
tree5aeb2af9756642c9507a68212cf772346c8f136d /remotebridges
parent8638f1e72a3fe830c0e8dcc1bd847d4fb9e599ee (diff)
fdo#46808, Adapt UNO service registry::ImplementationRegistration
Change-Id: I77d28e7575e18e682f8360f6e416954dfb7a4e30
Diffstat (limited to 'remotebridges')
-rw-r--r--remotebridges/examples/officeclient.cxx7
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() )
{