summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-29 10:10:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-29 12:00:42 +0100
commit368f806aaa75fb80790026677e2400580536ed7a (patch)
tree8b0a7e13a15e036a90a128c7789eaf06f4026dd4 /sfx2
parentbdfbc91ca08a9a04fc9515b0a0bf669627fcc6ed (diff)
loplugin:unnecessaryparen (clang-cl)
Change-Id: I3a2b7ed3fdef3b77c0a052b10f88918aa616779e Reviewed-on: https://gerrit.libreoffice.org/45469 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx
index 2b6514445d7f..04e34a99f75c 100644
--- a/sfx2/source/appl/shutdowniconw32.cxx
+++ b/sfx2/source/appl/shutdowniconw32.cxx
@@ -235,7 +235,7 @@ static void deleteSystrayMenu( HMENU hMenu )
MYITEM *pMyItem = reinterpret_cast<MYITEM*>(mi.dwItemData);
if( pMyItem )
{
- (pMyItem->text).clear();
+ pMyItem->text.clear();
delete pMyItem;
}
mi.fMask = MIIM_DATA;