diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-04-12 21:53:29 +0300 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-17 09:59:42 +0200 |
commit | 66ed9797ba8f61994a187dfcc189f375dcd0cdcc (patch) | |
tree | 19dadc10a843b9d4b906b116b6c888af5b8e0c19 /sd/source/ui/animations/CustomAnimationList.cxx | |
parent | 3564b46992fc30e212011c19043a2553178ccbca (diff) |
Simplify calls to Menu::CheckItem
in cui, dbaccess, vcl, sc, sd
Change-Id: I328d81cf6cd5a7e31fb21a758e4b2670e7df1b91
Reviewed-on: https://gerrit.libreoffice.org/52797
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationList.cxx')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 5008b9f631ea..59de6e7e1811 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -904,9 +904,9 @@ VclPtr<PopupMenu> CustomAnimationList::CreateContextMenu() pEntry = static_cast< CustomAnimationListEntry* >(NextSelected( pEntry )); } - mxMenu->CheckItem(mxMenu->GetItemId("onclick"), nNodeType == EffectNodeType::ON_CLICK); - mxMenu->CheckItem(mxMenu->GetItemId("withprev"), nNodeType == EffectNodeType::WITH_PREVIOUS); - mxMenu->CheckItem(mxMenu->GetItemId("afterprev"), nNodeType == EffectNodeType::AFTER_PREVIOUS); + mxMenu->CheckItem("onclick", nNodeType == EffectNodeType::ON_CLICK); + mxMenu->CheckItem("withprev", nNodeType == EffectNodeType::WITH_PREVIOUS); + mxMenu->CheckItem("afterprev", nNodeType == EffectNodeType::AFTER_PREVIOUS); mxMenu->EnableItem(mxMenu->GetItemId("options"), nEntries == 1); mxMenu->EnableItem(mxMenu->GetItemId("timing"), nEntries == 1); |