Commit 29dbaea278 (Use comphelper::dispatchCommand
in LokChartHelper::Dispatch, 2025-07-10) added some LOK-related UNO commands to
ControllerCommandDispatch::updateCommandAvailability. But since these commands
do not get respective m_aCommandArguments there, their state update events have
empty state, making their controls show some default values, when queried in
desktop case.
Make the commands LOK-only in updateCommandAvailability, as intended. Possibly
at some point, we could generalize updateCommandAvailability somehow to list
all the properties of selection; but for now, keep it simple.
Change-Id: I151deb1582c537471296255cf6b8630565419d12
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/190941
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>