summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/menu.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-10 19:19:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-12 12:30:53 +0200
commitdd6d7992d6f16133fafa7a617cf5fa0ba1ae37cc (patch)
tree49da40c8dbfa15a9fde368e0a8b69a623f357eaf /vcl/source/window/menu.cxx
parenttdf#107238 VBA autofilter: list of strings (diff)
downloadcore-dd6d7992d6f16133fafa7a617cf5fa0ba1ae37cc.tar.gz
core-dd6d7992d6f16133fafa7a617cf5fa0ba1ae37cc.zip
loplugin:constantparam
Change-Id: I67d74072c776c32a1f91df94c621efe180baf5dc Reviewed-on: https://gerrit.libreoffice.org/37481 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r--vcl/source/window/menu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 23700d1b45ad..ab458216eca9 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -389,7 +389,7 @@ MenuItemData* Menu::NbcInsertItem(sal_uInt16 nId, MenuItemBits nBits,
{
// put Item in MenuItemList
MenuItemData* pData = pItemList->Insert(nId, MenuItemType::STRING,
- nBits, rStr, Image(), pMenu, nPos, rIdent);
+ nBits, rStr, pMenu, nPos, rIdent);
// update native menu
if (ImplGetSalMenu() && pData->pSalMenuItem)