diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 15:33:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-13 12:20:07 +0100 |
commit | 6847deb1f7c68cf0402ccbc61c42ca5d285d3a61 (patch) | |
tree | 6ec482608dc101cb911d9a93c7cb41149eb4af2d /vcl/source/window/menuitemlist.cxx | |
parent | 6cbbe3a6c35cde186351315ddb189366bcca1deb (diff) |
sal_uLong->void* for userdata in Menu
Change-Id: I58fb10136a23c445edfd63a1f86ace3995524704
Reviewed-on: https://gerrit.libreoffice.org/46350
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.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx index 0aeb0cb9def7..6eac7de94e56 100644 --- a/vcl/source/window/menuitemlist.cxx +++ b/vcl/source/window/menuitemlist.cxx @@ -59,7 +59,7 @@ MenuItemData* MenuItemList::Insert( pData->eType = eType; pData->nBits = nBits; pData->pSubMenu = nullptr; - pData->nUserValue = 0; + pData->nUserValue = nullptr; pData->bChecked = false; pData->bEnabled = true; pData->bVisible = true; @@ -91,7 +91,7 @@ void MenuItemList::InsertSeparator(const OString &rIdent, size_t nPos) pData->eType = MenuItemType::SEPARATOR; pData->nBits = MenuItemBits::NONE; pData->pSubMenu = nullptr; - pData->nUserValue = 0; + pData->nUserValue = nullptr; pData->bChecked = false; pData->bEnabled = true; pData->bVisible = true; |