summaryrefslogtreecommitdiff
path: root/vcl/source/window/menuitemlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/menuitemlist.cxx')
-rw-r--r--vcl/source/window/menuitemlist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx
index 505bdf72e98b..4fb7526982d8 100644
--- a/vcl/source/window/menuitemlist.cxx
+++ b/vcl/source/window/menuitemlist.cxx
@@ -99,7 +99,7 @@ void MenuItemList::InsertSeparator(const OString &rIdent, size_t nPos)
pData->nId = 0;
pData->sIdent = rIdent;
pData->eType = MenuItemType::SEPARATOR;
- pData->nBits = 0;
+ pData->nBits = MenuItemBits::NONE;
pData->pSubMenu = NULL;
pData->pAutoSubMenu = NULL;
pData->nUserValue = 0;
@@ -113,7 +113,7 @@ void MenuItemList::InsertSeparator(const OString &rIdent, size_t nPos)
SalItemParams aSalMIData;
aSalMIData.nId = 0;
aSalMIData.eType = MenuItemType::SEPARATOR;
- aSalMIData.nBits = 0;
+ aSalMIData.nBits = MenuItemBits::NONE;
aSalMIData.pMenu = NULL;
aSalMIData.aText = OUString();
aSalMIData.aImage = Image();