Kaydet (Commit) fa7c081e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused Qt5MenuItem::mpVCLMenu

Change-Id: Ia7f28a54f253f0263cc781feb5997bb51bb640b2
Reviewed-on: https://gerrit.libreoffice.org/55193Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 03b79b22
...@@ -72,7 +72,6 @@ public: ...@@ -72,7 +72,6 @@ public:
sal_uInt16 mnId; // Item ID sal_uInt16 mnId; // Item ID
MenuItemType mnType; // Item type MenuItemType mnType; // Item type
bool mbVisible; // Item visibility. bool mbVisible; // Item visibility.
Menu* mpVCLMenu;
Qt5Menu* mpParentMenu; // The menu into which this menu item is inserted Qt5Menu* mpParentMenu; // The menu into which this menu item is inserted
Qt5Menu* mpSubMenu; // Submenu of this item (if defined) Qt5Menu* mpSubMenu; // Submenu of this item (if defined)
}; };
......
...@@ -193,7 +193,6 @@ void Qt5Menu::NativeItemText(OUString& rItemText) { rItemText = rItemText.replac ...@@ -193,7 +193,6 @@ void Qt5Menu::NativeItemText(OUString& rItemText) { rItemText = rItemText.replac
Qt5MenuItem::Qt5MenuItem(const SalItemParams* pItemData) Qt5MenuItem::Qt5MenuItem(const SalItemParams* pItemData)
: mnId(pItemData->nId) : mnId(pItemData->nId)
, mnType(pItemData->eType) , mnType(pItemData->eType)
, mpVCLMenu(pItemData->pMenu)
, mpParentMenu(nullptr) , mpParentMenu(nullptr)
, mpSubMenu(nullptr) , mpSubMenu(nullptr)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment