summaryrefslogtreecommitdiff
path: root/extensions/source/resource
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-19 22:45:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-19 22:45:59 +0100
commita94390d20c50125e25e29431ca15ca2ca6683d17 (patch)
tree13fe8d6bdbaa19bfcfbe4383c95e960f2bef5405 /extensions/source/resource
parent969bd8aa731935566a65c5e207ece6eb523df24e (diff)
A singleton is not a service
Change-Id: I9059370e21e753a9578f231fd0c0eb0a1d6a981e
Diffstat (limited to 'extensions/source/resource')
-rw-r--r--extensions/source/resource/res.component1
-rw-r--r--extensions/source/resource/resourceservices.cxx1
2 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/resource/res.component b/extensions/source/resource/res.component
index 561feedab338..4a573064fc09 100644
--- a/extensions/source/resource/res.component
+++ b/extensions/source/resource/res.component
@@ -20,7 +20,6 @@
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="res" xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.resource.OpenOfficeResourceLoader">
- <service name="com.sun.star.resource.OfficeResourceLoader"/>
<singleton name="com.sun.star.resource.OfficeResourceLoader"/>
</implementation>
<implementation name="org.libreoffice.extensions.resource.ResourceIndexAccess">
diff --git a/extensions/source/resource/resourceservices.cxx b/extensions/source/resource/resourceservices.cxx
index f45615b6c742..f8e1f5e7a61c 100644
--- a/extensions/source/resource/resourceservices.cxx
+++ b/extensions/source/resource/resourceservices.cxx
@@ -23,6 +23,7 @@ const sdecl::ServiceDecl ResourceIndexAccessDecl(
"org.libreoffice.extensions.resource.ResourceIndexAccess",
"org.libreoffice.resource.ResourceIndexAccess");
+//TOOD: this is a singleton, not a service:
const sdecl::ServiceDecl OpenOfficeResourceLoaderDecl(
OpenOfficeResourceLoaderServiceImpl,
"com.sun.star.comp.resource.OpenOfficeResourceLoader",