lok: initialize UNO url command dispatch
commitd3a2c0f60365d6092e5061b1d061d6e3e53eb9cf
authorHenry Castro <hcastro@collabora.com>
Tue, 15 Sep 2015 00:14:34 +0000 (14 20:14 -0400)
committerMiklos Vajna <vmiklos@collabora.co.uk>
Tue, 15 Sep 2015 07:28:57 +0000 (15 09:28 +0200)
treefdc0fe75852249263f11d0a279711f8c2ee9f68e
parent2ba8a592ca6f3035a2e3d5fe85c14122d8d0049c
lok: initialize UNO url command dispatch

In the tiled rendering case, the desktop is headless, so the toolbar
is not created.  The toolbar usually initializes all UNO url commands
for each tool item attached.

This causes that SfxControllerItem that monitor a state, it is not
intercepted by InterceptLOKStateChangeEvent so no callback status changes.

Change-Id: I5937cda66ef24d31dd92a1edd8c1440081c4b1a4
desktop/source/lib/init.cxx