From aded8531db7247cceb8960278169bd7eff918ca7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Aug 2019 14:23:00 +0200 Subject: enum SvLBoxButtonKind is effectively unused since commit e569b9d40eb02f53a3f13024af4ab1dc9ca7634a Date: Tue Jul 30 17:07:41 2019 +0100 weld OfaMSFilterTabPage2 Change-Id: If8777180aec04336eda08c75bbee400de2ccb43b Reviewed-on: https://gerrit.libreoffice.org/78136 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/conttree.hxx | 4 ++-- sw/source/uibase/utlui/content.cxx | 5 ++--- sw/source/uibase/utlui/glbltree.cxx | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) (limited to 'sw') diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx index 8a6793a2b5ab..f748759e97ec 100644 --- a/sw/source/uibase/inc/conttree.hxx +++ b/sw/source/uibase/inc/conttree.hxx @@ -129,7 +129,7 @@ class SwContentTree final using SvTreeListBox::EditEntry; virtual void RequestHelp( const HelpEvent& rHEvt ) override; - virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind) override; + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; SwNavigationPI* GetParentWindow(); @@ -318,7 +318,7 @@ private: virtual void GetFocus() override; virtual void SelectHdl() override; virtual void DeselectHdl() override; - virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind) override; + virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&) override; void Clear(); diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index c8bfe4411688..f979bf97d915 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -3786,11 +3786,10 @@ public: }; void SwContentTree::InitEntry(SvTreeListEntry* pEntry, - const OUString& rStr ,const Image& rImg1,const Image& rImg2, - SvLBoxButtonKind eButtonKind) + const OUString& rStr ,const Image& rImg1,const Image& rImg2) { const size_t nColToHilite = 1; //0==Bitmap;1=="Column1";2=="Column2" - SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2, eButtonKind ); + SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2 ); SvLBoxString& rCol = static_cast(pEntry->GetItem( nColToHilite )); pEntry->ReplaceItem(std::make_unique(rCol.GetText()), nColToHilite); } diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 9dce946dc90b..59fe11eb9145 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -1224,11 +1224,10 @@ IMPL_STATIC_LINK_NOARG(SwGlobalTree, ShowFrameHdl, void*, void) } void SwGlobalTree::InitEntry(SvTreeListEntry* pEntry, - const OUString& rStr ,const Image& rImg1,const Image& rImg2, - SvLBoxButtonKind eButtonKind) + const OUString& rStr ,const Image& rImg1,const Image& rImg2) { const size_t nColToHilite = 1; //0==Bitmap;1=="Column1";2=="Column2" - SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2, eButtonKind ); + SvTreeListBox::InitEntry( pEntry, rStr, rImg1, rImg2 ); SvLBoxString& rCol = static_cast(pEntry->GetItem( nColToHilite )); pEntry->ReplaceItem(std::make_unique(rCol.GetText()), nColToHilite); } -- cgit