From fb0644e8f0a944c10b654233813ab40792e78e0a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 Jul 2017 15:58:22 +0200 Subject: loplugin:unusedfields in sfx2 Change-Id: I9f57545ca4ee5159a095f9b35267d298ccc7fb4e Reviewed-on: https://gerrit.libreoffice.org/39476 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/sidebar/DeckLayouter.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sfx2/source/sidebar') diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx index 5a37474148c5..b0d177ec7406 100644 --- a/sfx2/source/sidebar/DeckLayouter.cxx +++ b/sfx2/source/sidebar/DeckLayouter.cxx @@ -47,11 +47,10 @@ namespace { css::ui::LayoutSize maLayoutSize; sal_Int32 mnDistributedHeight; sal_Int32 mnWeight; - sal_Int32 mnPanelIndex; bool mbShowTitleBar; LayoutItem() - : mpPanel(),maLayoutSize(0,0,0),mnDistributedHeight(0),mnWeight(0),mnPanelIndex(0),mbShowTitleBar(true) + : mpPanel(),maLayoutSize(0,0,0),mnDistributedHeight(0),mnWeight(0),mbShowTitleBar(true) {} }; tools::Rectangle LayoutPanels ( @@ -115,7 +114,6 @@ void DeckLayouter::LayoutDeck ( for (sal_Int32 nIndex(0),nCount(rPanels.size()); nIndex