summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/querycontroller.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2025-07-06 20:51:12 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2025-07-06 20:00:36 +0200
commit40df99b1111b492f81157b101e084f5c2028c8e2 (patch)
tree3ab5841ec5479b18893b51ffaf3668cbd45fb1c3 /dbaccess/source/ui/querydesign/querycontroller.cxx
parent5ff4c96de5e70199bde83c9e35a583297893d16a (diff)
Avoid duplicating command listsHEADmaster
ChartController::impl_getAvailableCommands had almost the same list as what was stored in ControllerCommandDispatch::m_aCommandAvailability. That required to keep these lists in sync, prone to overlooks. This change makes ChartController::impl_getAvailableCommands only hold those commands that should not appear in ControllerCommandDispatch. At the moment, those are only forwarded commands and ChartElementSelector, that may need to be handled in ControllerCommandDispatch. LOK-specific commands may be added here later. Change-Id: I82bbfbd6a69bbaaebcc91d8f29b6c22ddf2f8ae6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187448 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'dbaccess/source/ui/querydesign/querycontroller.cxx')
0 files changed, 0 insertions, 0 deletions