diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-07 16:19:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-15 09:56:00 +0200 |
commit | e7018375cdf0e5e542631df9dee6023ff80b7840 (patch) | |
tree | 50879e1febe6555236be77e8eb956c113019cd8c /framework/source/services/backingcomp.cxx | |
parent | 435989ad0616a36d03975096919721e8506f5516 (diff) |
fdo#46808, Adapt frame::StartModule UNO service to new style
The service already existed, it just did not have an IDL file.
Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
Diffstat (limited to 'framework/source/services/backingcomp.cxx')
-rw-r--r-- | framework/source/services/backingcomp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/backingcomp.cxx b/framework/source/services/backingcomp.cxx index 60e9ced7c611..43f808eaad74 100644 --- a/framework/source/services/backingcomp.cxx +++ b/framework/source/services/backingcomp.cxx @@ -268,7 +268,7 @@ sal_Bool SAL_CALL BackingComp::supportsService( /*IN*/ const ::rtl::OUString& sS throw(css::uno::RuntimeException) { return ( - sServiceName.equals(SERVICENAME_STARTMODULE ) || + sServiceName.equals("com.sun.star.frame.StartModule") || sServiceName.equals(SERVICENAME_FRAMECONTROLLER) ); } @@ -326,7 +326,7 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL BackingComp::getSupportedServiceN css::uno::Sequence< ::rtl::OUString > BackingComp::impl_getStaticSupportedServiceNames() { css::uno::Sequence< ::rtl::OUString > lNames(1); - lNames[0] = SERVICENAME_STARTMODULE; + lNames[0] = "com.sun.star.frame.StartModule"; return lNames; } |