diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-12 13:18:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-13 07:29:37 +0100 |
commit | e98bcfcc3cdad46620e3d59119b0ac262db88054 (patch) | |
tree | 102a618dd0eea76eb934473cf833d8cd1fc53578 /vcl | |
parent | c474fd56e1723002ce8e6388a74b902fdc8c5887 (diff) |
loplugin:unusedfields in various
Change-Id: I4021ba6090bd3f42b0eb5ea1ec9bbf05d1594b35
Reviewed-on: https://gerrit.libreoffice.org/65054
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/menu.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 549595049b5f..bc310e55cd37 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -77,7 +77,6 @@ namespace vcl struct MenuLayoutData : public ControlLayoutData { std::vector< sal_uInt16 > m_aLineItemIds; - std::vector< sal_uInt16 > m_aLineItemPositions; std::map< sal_uInt16, tools::Rectangle > m_aVisibleItemBoundRects; }; @@ -1951,7 +1950,6 @@ void Menu::ImplPaint(vcl::RenderContext& rRenderContext, Size const & rSize, { mpLayoutData->m_aLineIndices.push_back(mpLayoutData->m_aDisplayText.getLength()); mpLayoutData->m_aLineItemIds.push_back(pData->nId); - mpLayoutData->m_aLineItemPositions.push_back(n); } // #i47946# with NWF painted menus the background is transparent // since DrawCtrlText can depend on the background (e.g. for |