summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Frame.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-11-03 15:34:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-11-03 17:31:21 +0100
commit5b7a61a852216f97cc7ff5952e13a6d922bc00b6 (patch)
treefabe8da9f90ccbcb52fc412fa5a7c6cce9ae4813 /vcl/qt5/Qt5Frame.cxx
parent2359ad3305c20b0654bdb2ff41a4703c833f7734 (diff)
loplugin:unusedfields
Change-Id: Ia8e2a7ce75bfded98e85fa583d1404710069d335 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105249 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qt5/Qt5Frame.cxx')
-rw-r--r--vcl/qt5/Qt5Frame.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 21f00c62947a..f25360378268 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -412,7 +412,7 @@ void Qt5Frame::SetIcon(sal_uInt16 nIcon)
m_pQWidget->window()->setWindowIcon(aIcon);
}
-void Qt5Frame::SetMenu(SalMenu* pMenu) { m_pSalMenu = static_cast<Qt5Menu*>(pMenu); }
+void Qt5Frame::SetMenu(SalMenu*) {}
void Qt5Frame::DrawMenuBar() { /* not needed */}