Bug 94241 - Improve InterceptLOKStateChangeEvent
Summary: Improve InterceptLOKStateChangeEvent
Status: NEW
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-15 10:31 UTC by Jan Holesovsky
Modified: 2020-09-20 17:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Holesovsky 2015-09-15 10:31:23 UTC
The SfxDispatchController_Impl::InterceptLOKStateChangeEvent() should be updated so that it returns a generic UNO -> Json conversion of aEvent.State, and it is up to the client to get the needed info out of that, so that we don't have to handle each and every case in InterceptLOKStateChangeEvent.

Ideal would be to have a generic comphelper::anyToJson() similar to comphelper::anyToString(); see comphelper/source/misc/anytostring.cxx .