From 0008c67004d3eb8e1fc7a5e13cd50269ba80e7d2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 18 Mar 2016 11:02:37 +0200 Subject: drop unused params from SvLBoxItem and all it's subclasses looks like this is fallout from commit ac7acb0a "Merged SvTreeListBox and SvLBox." (in year 2012) Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906 --- basctl/source/basicide/moduldl2.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basctl') diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index a8ee608dad0f..58fda39bc18c 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -111,8 +111,8 @@ public: class LibLBoxString : public SvLBoxString { public: - LibLBoxString( SvTreeListEntry* pEntry, sal_uInt16 nFlags, const OUString& rTxt ) : - SvLBoxString( pEntry, nFlags, rTxt ) {} + LibLBoxString( const OUString& rTxt ) : + SvLBoxString( rTxt ) {} virtual void Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, const SvViewDataEntry* pView, const SvTreeListEntry& rEntry) override; @@ -253,7 +253,7 @@ void CheckBox::InitEntry(SvTreeListEntry* pEntry, const OUString& rTxt, for ( sal_uInt16 nCol = 1; nCol < nCount; ++nCol ) { SvLBoxString& rCol = static_cast(pEntry->GetItem( nCol )); - pEntry->ReplaceItem(o3tl::make_unique( pEntry, 0, rCol.GetText() ), nCol); + pEntry->ReplaceItem(o3tl::make_unique( rCol.GetText() ), nCol); } } } -- cgit