summaryrefslogtreecommitdiff
path: root/vcl/source/control/listbox.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-23 20:49:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 08:12:31 +0200
commit6a22fc81e219667566b9cc3ed5e9de1898c1fe6b (patch)
treefaf240652c3762ccda48357efb2717b59df6fcc6 /vcl/source/control/listbox.cxx
parent951b6a9570ae2665f7b6e7cdd6d24d1fc513ba90 (diff)
loplugin:unusedmethods
Change-Id: Ieec5099a8ce9fa3f07e36be244071efc1b101cf7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/listbox.cxx')
-rw-r--r--vcl/source/control/listbox.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx
index 9fa46963b9ff..07bdb413ac02 100644
--- a/vcl/source/control/listbox.cxx
+++ b/vcl/source/control/listbox.cxx
@@ -952,11 +952,6 @@ sal_Int32 ListBox::InsertEntry( const OUString& rStr, const Image& rImage, sal_I
return nRealPos;
}
-void ListBox::RemoveEntry( const OUString& rStr )
-{
- RemoveEntry( GetEntryPos( rStr ) );
-}
-
void ListBox::RemoveEntry( sal_Int32 nPos )
{
mpImplLB->RemoveEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
@@ -1095,11 +1090,6 @@ void ListBox::SetEntryFlags( sal_Int32 nPos, ListBoxEntryFlags nFlags )
mpImplLB->SetEntryFlags( nPos + mpImplLB->GetEntryList()->GetMRUCount(), nFlags );
}
-ListBoxEntryFlags ListBox::GetEntryFlags( sal_Int32 nPos ) const
-{
- return mpImplLB->GetEntryList()->GetEntryFlags( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
-}
-
void ListBox::SetTopEntry( sal_Int32 nPos )
{
mpImplLB->SetTopEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
@@ -1338,21 +1328,6 @@ void ListBox::UserDraw( const UserDrawEvent& )
{
}
-void ListBox::DrawEntry(const UserDrawEvent& rEvt)
-{
- if (rEvt.GetWindow() == mpImplLB->GetMainWindow())
- mpImplLB->GetMainWindow()->DrawEntry(*rEvt.GetRenderContext(), rEvt.GetItemId(), true/*bDrawImage*/, true/*bDrawText*/, false/*bDrawTextAtImagePos*/ );
- else if (rEvt.GetWindow() == mpImplWin)
- mpImplWin->DrawEntry(*rEvt.GetRenderContext(), false/*layout*/);
-}
-
-void ListBox::EnableUserDraw( bool bUserDraw )
-{
- mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw );
- if ( mpImplWin )
- mpImplWin->EnableUserDraw( bUserDraw );
-}
-
void ListBox::SetReadOnly( bool bReadOnly )
{
if ( mpImplLB->IsReadOnly() != bReadOnly )