summaryrefslogtreecommitdiff
path: root/sfx2/source/commandpopup
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-07 20:39:10 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-08 09:34:29 +0100
commitcb18b12953c8ad9d58af82f779be1046fea77834 (patch)
treef653f56a99151689a775865a6fd851b7eb31c348 /sfx2/source/commandpopup
parent59ebafbce2faca19526ddbdd6645e48c2fc653c2 (diff)
cid#1545617 COPY_INSTEAD_OF_MOVE
and cid#1545748 COPY_INSTEAD_OF_MOVE cid#1545741 COPY_INSTEAD_OF_MOVE cid#1545698 COPY_INSTEAD_OF_MOVE cid#1545594 COPY_INSTEAD_OF_MOVE cid#1545588 COPY_INSTEAD_OF_MOVE cid#1545558 COPY_INSTEAD_OF_MOVE cid#1545545 COPY_INSTEAD_OF_MOVE Change-Id: I5dfec77a68959b9384fc71a2fc0908c5d1b42869 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160448 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2/source/commandpopup')
-rw-r--r--sfx2/source/commandpopup/CommandPopup.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/commandpopup/CommandPopup.cxx b/sfx2/source/commandpopup/CommandPopup.cxx
index 0d948a4e84e6..3cc7b350dd12 100644
--- a/sfx2/source/commandpopup/CommandPopup.cxx
+++ b/sfx2/source/commandpopup/CommandPopup.cxx
@@ -82,8 +82,7 @@ void MenuContentHandler::gatherMenuContent(
auto aCommandProperties = vcl::CommandInfoProvider::GetCommandProperties(
aNewContent.m_aCommandURL, m_sModuleLongName);
- OUString aLabel = vcl::CommandInfoProvider::GetLabelForCommand(aCommandProperties);
- aNewContent.m_aMenuLabel = aLabel;
+ aNewContent.m_aMenuLabel = vcl::CommandInfoProvider::GetLabelForCommand(aCommandProperties);
if (!rMenuContent.m_aFullLabelWithPath.isEmpty())
aNewContent.m_aFullLabelWithPath