Remove unused ComboBox::SetSeparatorPos().

This commit is contained in:
Jan Holesovsky
2011-08-08 00:05:35 +02:00
parent 8c219766f1
commit 04b0d7ac37
4 changed files with 3 additions and 10 deletions

View File

@@ -136,7 +136,6 @@ ComboBox::GetSeparatorPos() const
ComboBox::GetUserItemSize() const
ComboBox::IsDDAutoWidthEnabled() const
ComboBox::IsUserDrawEnabled() const
ComboBox::SetSeparatorPos()
ComboBox::ShowProminentEntry(unsigned short)
CommandExtTextInputData::CommandExtTextInputData()
CommandLine::get_arg(unsigned long) const

View File

@@ -29,6 +29,8 @@
#ifndef _SV_COMBOBOX_H
#define _SV_COMBOBOX_H
#include <vcl/lstbox.h>
#define COMBOBOX_APPEND ((sal_uInt16)0xFFFF)
#define COMBOBOX_ENTRY_NOTFOUND ((sal_uInt16)0xFFFF)
#define COMBOBOX_ERROR ((sal_uInt16)0xFFFF)

View File

@@ -156,8 +156,7 @@ public:
void DrawEntry( const UserDrawEvent& rEvt, sal_Bool bDrawImage, sal_Bool bDrawText, sal_Bool bDrawTextAtImagePos = sal_False );
void SetBorderStyle( sal_uInt16 nBorderStyle );
void SetSeparatorPos( sal_uInt16 n );
void SetSeparatorPos();
void SetSeparatorPos( sal_uInt16 n = LISTBOX_ENTRY_NOTFOUND );
sal_uInt16 GetSeparatorPos() const;
void EnableAutocomplete( sal_Bool bEnable, sal_Bool bMatchCase = sal_False );

View File

@@ -1374,13 +1374,6 @@ void ComboBox::SetSeparatorPos( sal_uInt16 n )
// -----------------------------------------------------------------------
void ComboBox::SetSeparatorPos()
{
mpImplLB->SetSeparatorPos( LISTBOX_ENTRY_NOTFOUND );
}
// -----------------------------------------------------------------------
sal_uInt16 ComboBox::GetSeparatorPos() const
{
return mpImplLB->GetSeparatorPos();