summaryrefslogtreecommitdiff
path: root/sfx2/util
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-16 09:25:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-16 18:40:06 +0100
commit3557c07899e363a9b7e1cceca632ad9112d039a2 (patch)
tree0aab96a0360f038c5b51a9a8e993fd489c31f247 /sfx2/util
parent62951cdd17530f6218232f3d482bfd4ddd8a95ec (diff)
Revert "Revert "sfx: Use constructor feature for SfxGlobalEvents_Impl.""
This reverts commit ef37781683e28d1837cfce86de990e59d2c10c5f, now that constructor function support for singleton implementations is in place and the proper singleton theGlobalEventBroadcaster has been introduced (and drops sfx_component_getFactory completely, which had become unused except for SfxGlobalEvents_Impl in the meantime). Change-Id: I2d587989dd0a1fbea6fe75f7dc2af954ac81c4ed
Diffstat (limited to 'sfx2/util')
-rw-r--r--sfx2/util/sfx.component3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/util/sfx.component b/sfx2/util/sfx.component
index 30cd3fc698bb..e0fb72b44a8e 100644
--- a/sfx2/util/sfx.component
+++ b/sfx2/util/sfx.component
@@ -68,7 +68,8 @@
constructor="com_sun_star_comp_sfx2_DocumentTemplates_get_implementation">
<service name="com.sun.star.frame.DocumentTemplates"/>
</implementation>
- <implementation name="com.sun.star.comp.sfx2.GlobalEventBroadcaster">
+ <implementation name="com.sun.star.comp.sfx2.GlobalEventBroadcaster"
+ constructor="com_sun_star_comp_sfx2_GlobalEventBroadcaster_get_implementation">
<service name="com.sun.star.frame.GlobalEventBroadcaster"/>
<singleton name="com.sun.star.frame.theGlobalEventBroadcaster"/>
</implementation>