summaryrefslogtreecommitdiff
path: root/dbaccess/util
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-09-30 22:20:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-10-01 09:45:45 +0200
commit2f1bae744ad473df5de0a5e4882ca4e8b5f20618 (patch)
tree3fc53ae516b011c7d137f49f0620cfd69f0f8875 /dbaccess/util
parentd9ba652064ee760448d0344d07347480cb195b6e (diff)
Use the new single-instance="true" attribute in dbaccess
Change-Id: Idd42ae243859ee0a0798568f71460c93981c636f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103736 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/util')
-rw-r--r--dbaccess/util/dba.component4
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/util/dba.component b/dbaccess/util/dba.component
index 83795ff82f77..7fcf892bb489 100644
--- a/dbaccess/util/dba.component
+++ b/dbaccess/util/dba.component
@@ -37,9 +37,7 @@
<service name="com.sun.star.sdb.TableDefinition"/>
</implementation>
<implementation name="com.sun.star.comp.dba.ODatabaseContext"
- constructor="com_sun_star_comp_dba_ODatabaseContext_get_implementation">
- <!-- fake singleton so the servicemanager calls dispose() on us so we can clean up the global -->
- <singleton name="com.sun.star.comp.dba.theODatabaseContext"/>
+ constructor="com_sun_star_comp_dba_ODatabaseContext_get_implementation" single-instance="true">
<service name="com.sun.star.sdb.DatabaseContext"/>
</implementation>
<implementation name="com.sun.star.comp.dba.ODatabaseDocument"