From 93a9b70c7fe4d68f8d41edb25bc00bcac4439667 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 3 May 2017 15:06:07 +0200 Subject: loplugin:checkunusedparams in svtools Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7 Reviewed-on: https://gerrit.libreoffice.org/37201 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/contnr/treelistbox.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svtools/source/contnr/treelistbox.cxx') diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index cfe4dc630c9b..287b727ff53c 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -2155,7 +2155,7 @@ void SvTreeListBox::SetEntryHeight( SvTreeListEntry* pEntry ) { nEntryHeight = nHeightMax; Control::SetFont( GetFont() ); - pImpl->SetEntryHeight( nHeightMax ); + pImpl->SetEntryHeight(); } } @@ -2169,7 +2169,7 @@ void SvTreeListBox::SetEntryHeight( short nHeight, bool bForce ) else nTreeFlags &= ~SvTreeFlags::FIXEDHEIGHT; Control::SetFont( GetFont() ); - pImpl->SetEntryHeight( nHeight ); + pImpl->SetEntryHeight(); } } @@ -2185,7 +2185,7 @@ void SvTreeListBox::AdjustEntryHeight( const Image& rBmp ) if( aSize.Height() > nEntryHeight ) { nEntryHeight = (short)aSize.Height() + nEntryHeightOffs; - pImpl->SetEntryHeight( nEntryHeight ); + pImpl->SetEntryHeight(); } } @@ -2195,7 +2195,7 @@ void SvTreeListBox::AdjustEntryHeight() if( aSize.Height() > nEntryHeight ) { nEntryHeight = (short)aSize.Height() + nEntryHeightOffs; - pImpl->SetEntryHeight( nEntryHeight ); + pImpl->SetEntryHeight(); } } @@ -2449,7 +2449,7 @@ void SvTreeListBox::SetSpaceBetweenEntries( short nOffsLogic ) nEntryHeightOffs = nOffsLogic; nEntryHeight = nEntryHeight + nOffsLogic; AdjustEntryHeightAndRecalc(); - pImpl->SetEntryHeight( nEntryHeight ); + pImpl->SetEntryHeight(); } } -- cgit v1.2.3