summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-08-15 08:00:07 +0200
committerJan Holesovsky <kendy@suse.cz>2011-08-15 13:11:50 +0200
commit3caac78af2a56db5156b9075b5bdd1f3c00c5d65 (patch)
treed1537a4464cf868a534f9c643cab1f06a835cbfc /vcl/source
parent9ca076f6236a24e8909fdd471ea7acea88bfc01b (diff)
callcatcher: Remove unused ListBox-related methods.
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/lstbox.cxx82
1 files changed, 0 insertions, 82 deletions
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 9b31913756e4..59dddad44b24 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -611,13 +611,6 @@ void ListBox::EnableDDAutoWidth( sal_Bool b )
// -----------------------------------------------------------------------
-sal_Bool ListBox::IsDDAutoWidthEnabled() const
-{
- return mpFloatWin ? mpFloatWin->IsAutoWidth() : sal_False;
-}
-
-// -----------------------------------------------------------------------
-
void ListBox::SetDropDownLineCount( sal_uInt16 nLines )
{
mnLineCount = nLines;
@@ -1235,13 +1228,6 @@ void ListBox::SetTopEntry( sal_uInt16 nPos )
// -----------------------------------------------------------------------
-void ListBox::ShowProminentEntry( sal_uInt16 nPos )
-{
- mpImplLB->ShowProminentEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
-}
-
-// -----------------------------------------------------------------------
-
sal_uInt16 ListBox::GetTopEntry() const
{
sal_uInt16 nPos = GetEntryCount() ? mpImplLB->GetTopEntry() : LISTBOX_ENTRY_NOTFOUND;
@@ -1252,20 +1238,6 @@ sal_uInt16 ListBox::GetTopEntry() const
// -----------------------------------------------------------------------
-void ListBox::SetProminentEntryType( ProminentEntry eType )
-{
- mpImplLB->SetProminentEntryType( eType );
-}
-
-// -----------------------------------------------------------------------
-
-ProminentEntry ListBox::GetProminentEntryType() const
-{
- return mpImplLB->GetProminentEntryType();
-}
-
-// -----------------------------------------------------------------------
-
sal_Bool ListBox::IsTravelSelect() const
{
return mpImplLB->IsTravelSelect();
@@ -1280,11 +1252,6 @@ sal_Bool ListBox::IsInDropDown() const
// -----------------------------------------------------------------------
-long ListBox::CalcWindowSizePixel( sal_uInt16 nLines ) const
-{
- return mpImplLB->GetEntryHeight() * nLines;
-}
-
Rectangle ListBox::GetBoundingRectangle( sal_uInt16 nItem ) const
{
Rectangle aRect = mpImplLB->GetMainWindow()->GetBoundingRectangle( nItem );
@@ -1509,13 +1476,6 @@ void ListBox::SetUserItemSize( const Size& rSz )
// -----------------------------------------------------------------------
-const Size& ListBox::GetUserItemSize() const
-{
- return mpImplLB->GetMainWindow()->GetUserItemSize();
-}
-
-// -----------------------------------------------------------------------
-
void ListBox::EnableUserDraw( sal_Bool bUserDraw )
{
mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw );
@@ -1525,13 +1485,6 @@ void ListBox::EnableUserDraw( sal_Bool bUserDraw )
// -----------------------------------------------------------------------
-sal_Bool ListBox::IsUserDrawEnabled() const
-{
- return mpImplLB->GetMainWindow()->IsUserDrawEnabled();
-}
-
-// -----------------------------------------------------------------------
-
void ListBox::SetReadOnly( sal_Bool bReadOnly )
{
if ( mpImplLB->IsReadOnly() != bReadOnly )
@@ -1557,13 +1510,6 @@ void ListBox::SetSeparatorPos( sal_uInt16 n )
// -----------------------------------------------------------------------
-void ListBox::SetSeparatorPos()
-{
- mpImplLB->SetSeparatorPos( LISTBOX_ENTRY_NOTFOUND );
-}
-
-// -----------------------------------------------------------------------
-
sal_uInt16 ListBox::GetSeparatorPos() const
{
return mpImplLB->GetSeparatorPos();
@@ -1571,34 +1517,6 @@ sal_uInt16 ListBox::GetSeparatorPos() const
// -----------------------------------------------------------------------
-void ListBox::SetMRUEntries( const XubString& rEntries, xub_Unicode cSep )
-{
- mpImplLB->SetMRUEntries( rEntries, cSep );
-}
-
-// -----------------------------------------------------------------------
-
-XubString ListBox::GetMRUEntries( xub_Unicode cSep ) const
-{
- return mpImplLB->GetMRUEntries( cSep );
-}
-
-// -----------------------------------------------------------------------
-
-void ListBox::SetMaxMRUCount( sal_uInt16 n )
-{
- mpImplLB->SetMaxMRUCount( n );
-}
-
-// -----------------------------------------------------------------------
-
-sal_uInt16 ListBox::GetMaxMRUCount() const
-{
- return mpImplLB->GetMaxMRUCount();
-}
-
-// -----------------------------------------------------------------------
-
sal_uInt16 ListBox::GetDisplayLineCount() const
{
return mpImplLB->GetDisplayLineCount();