[Libreoffice-commits] core.git: vcl/inc vcl/qt5
Stephan Bergmann
sbergman at redhat.com
Fri Jun 1 19:21:49 UTC 2018
vcl/inc/qt5/Qt5Menu.hxx | 1 -
vcl/qt5/Qt5Menu.cxx | 1 -
2 files changed, 2 deletions(-)
New commits:
commit fa7c081ea70854334ad6c4f3d2024f35e110dd67
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 1 16:43:43 2018 +0200
Remove unused Qt5MenuItem::mpVCLMenu
Change-Id: Ia7f28a54f253f0263cc781feb5997bb51bb640b2
Reviewed-on: https://gerrit.libreoffice.org/55193
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/inc/qt5/Qt5Menu.hxx b/vcl/inc/qt5/Qt5Menu.hxx
index 21f33eaece84..4b4081e09545 100644
--- a/vcl/inc/qt5/Qt5Menu.hxx
+++ b/vcl/inc/qt5/Qt5Menu.hxx
@@ -72,7 +72,6 @@ public:
sal_uInt16 mnId; // Item ID
MenuItemType mnType; // Item type
bool mbVisible; // Item visibility.
- Menu* mpVCLMenu;
Qt5Menu* mpParentMenu; // The menu into which this menu item is inserted
Qt5Menu* mpSubMenu; // Submenu of this item (if defined)
};
diff --git a/vcl/qt5/Qt5Menu.cxx b/vcl/qt5/Qt5Menu.cxx
index d4f0763d00f2..5b915775f338 100644
--- a/vcl/qt5/Qt5Menu.cxx
+++ b/vcl/qt5/Qt5Menu.cxx
@@ -193,7 +193,6 @@ void Qt5Menu::NativeItemText(OUString& rItemText) { rItemText = rItemText.replac
Qt5MenuItem::Qt5MenuItem(const SalItemParams* pItemData)
: mnId(pItemData->nId)
, mnType(pItemData->eType)
- , mpVCLMenu(pItemData->pMenu)
, mpParentMenu(nullptr)
, mpSubMenu(nullptr)
{
More information about the Libreoffice-commits
mailing list