summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-16 15:31:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-17 11:17:44 +0200
commitbad6799603f7ec4c6566696c1104a8bcf9fcfdc7 (patch)
treed2397769933810594b94e241a79d153abe7711df /vcl/osx
parentc400311414fca20d3705ee9ef24747b9a5301167 (diff)
loplugin:unnecessaryparen
Change-Id: Ic96e2ee710cb28b0475c103ab9cba5974301e164 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134407 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salmenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx
index 92b1d44abdd4..ab6263cc84a7 100644
--- a/vcl/osx/salmenu.cxx
+++ b/vcl/osx/salmenu.cxx
@@ -856,7 +856,7 @@ AquaSalMenuItem::AquaSalMenuItem( const SalItemParams* pItemData ) :
// peel mnemonics because on mac there are no such things for menu items
// Delete CJK-style mnemonics for the dropdown menu of the 'New button' and lower menu of 'File > New'
- NSString* pString = CreateNSString(MnemonicGenerator::EraseAllMnemonicChars((pItemData->aText)));
+ NSString* pString = CreateNSString(MnemonicGenerator::EraseAllMnemonicChars(pItemData->aText));
if (pString)
{
[mpMenuItem setTitle: pString];