summaryrefslogtreecommitdiff
path: root/vcl/source/window/menuitemlist.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 18:56:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-27 10:10:52 +0200
commitf3049f68584811bb897873f35e0c302898af2d31 (patch)
treeb77f8bee3f733b8f2565a64276e33387576a26ac /vcl/source/window/menuitemlist.cxx
parent28fc0962b10519ab84654d189d2ad0cca8f84f95 (diff)
loplugin:constantparam
Change-Id: I966dcf87be021520e7cc394338b9c0574bb8afee Reviewed-on: https://gerrit.libreoffice.org/53541 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/menuitemlist.cxx')
-rw-r--r--vcl/source/window/menuitemlist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx
index 6eac7de94e56..f9306c864249 100644
--- a/vcl/source/window/menuitemlist.cxx
+++ b/vcl/source/window/menuitemlist.cxx
@@ -53,7 +53,7 @@ MenuItemData* MenuItemList::Insert(
const OString &rIdent
)
{
- MenuItemData* pData = new MenuItemData( rStr, Image() );
+ MenuItemData* pData = new MenuItemData( rStr );
pData->nId = nId;
pData->sIdent = rIdent;
pData->eType = eType;