summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 14:23:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 18:50:45 +0200
commitaded8531db7247cceb8960278169bd7eff918ca7 (patch)
tree585440372b5e0893657ac49563f4e5b215f419f7 /sw
parentb5317b2a41e6369e2804462e2ab73f1447f1533a (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/inc/conttree.hxx4
-rw-r--r--sw/source/uibase/utlui/content.cxx5
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx5
3 files changed, 6 insertions, 8 deletions
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<SvLBoxString&>(pEntry->GetItem( nColToHilite ));
pEntry->ReplaceItem(std::make_unique<SwContentLBoxString>(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<SvLBoxString&>(pEntry->GetItem( nColToHilite ));
pEntry->ReplaceItem(std::make_unique<SwLBoxString>(rCol.GetText()), nColToHilite);
}