Download it now!
Bug 55380 - Clients of GlobalEventBroadcaster should use DocumentEventBroadcaster/Listener
Summary: Clients of GlobalEventBroadcaster should use DocumentEventBroadcaster/Listener
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: target:4.4.0
Keywords: difficultyInteresting, easyHack, skillCpp
Depends on:
Reported: 2012-09-27 08:42 UTC by Stephan Bergmann
Modified: 2016-02-18 16:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Bergmann 2012-09-27 08:42:02 UTC
For backwards compatibility, the implementation of (sfx2/source/notify/eventsupplier.cxx) still supports the obsolete interfaces and  However, call-sites within the LO code base should be adapted to use the replacements and, resp.  The relevant places are:

XEventBroadcaster extensions/source/update/ui/updatecheckui.cxx
XEventBroadcaster filter/source/config/cache/lateinitlistener.cxx
XEventBroadcaster filter/source/xsltdialog/xmlfiltertestdialog.cxx
XEventBroadcaster ucb/source/ucp/tdoc/tdoc_docmgr.cxx
XEventListener desktop/source/app/app.cxx
XEventListener sfx2/source/appl/appinit.cxx

(See also the commit message of <> "Improvements on previous commit.")
Comment 1 Stephan Bergmann 2012-09-27 08:51:59 UTC
(Once this issue is fixed /and/ we want to become incompatible, the GlobalEventBroadcaster implementation can then be cleaned up, see <>.)
Comment 2 Björn Michaelsen 2013-10-04 18:47:52 UTC
adding LibreOffice developer list as CC to unresolved EasyHacks for better visibility.

see e.g. for details
Comment 3 d.sikeler94 2014-09-02 09:24:49 UTC
I replaced the calls of obsolete interfaces with the new ones. The file filter/source/config/cache/lateinitlistener.cxx doesn't exist any more.
Comment 4 Jorendc 2014-09-02 11:15:23 UTC
Thanks for your patch!
But please do not close this bug report before your patch is reviewed and applied. -> NEW
Comment 5 Jorendc 2014-09-02 11:15:45 UTC
(ps: you can assign yourself in the 'assigned to' field and mark this bug as ASSIGNED).
Comment 6 Commit Notification 2014-09-10 11:50:25 UTC
Daniel Sikeler committed a patch related to this issue.
It has been pushed to "master":

fdo#55380 replaced use of obsolete interfaces

The patch should be included in the daily builds available at in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Comment 7 Robinson Tryon (qubit) 2015-12-16 00:24:19 UTC
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyInteresting SkillCpp )
Comment 8 Robinson Tryon (qubit) 2016-02-18 16:37:27 UTC
Remove LibreOffice Dev List from CC on EasyHacks
(curtailing excessive email to list)