diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-08-08 00:05:35 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-08-08 00:05:35 +0200 |
commit | 04b0d7ac37bee4a8d96c45cad27f6c0c16c8ee3f (patch) | |
tree | 47e73b962cdc3c7e9b0e8fd5bb7f781c45cebf3b | |
parent | 8c219766f1a3357845ff46e30e23d30f633afe54 (diff) |
Remove unused ComboBox::SetSeparatorPos().
-rw-r--r-- | unusedcode.easy | 1 | ||||
-rw-r--r-- | vcl/inc/vcl/combobox.h | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/combobox.hxx | 3 | ||||
-rw-r--r-- | vcl/source/control/combobox.cxx | 7 |
4 files changed, 3 insertions, 10 deletions
diff --git a/unusedcode.easy b/unusedcode.easy index dacf1c74b718..7c3f2d51e1e2 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -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 diff --git a/vcl/inc/vcl/combobox.h b/vcl/inc/vcl/combobox.h index 387c20d544be..49ed8a441eae 100644 --- a/vcl/inc/vcl/combobox.h +++ b/vcl/inc/vcl/combobox.h @@ -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) diff --git a/vcl/inc/vcl/combobox.hxx b/vcl/inc/vcl/combobox.hxx index 12385c9bd9e2..7e1ea38df798 100644 --- a/vcl/inc/vcl/combobox.hxx +++ b/vcl/inc/vcl/combobox.hxx @@ -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 ); diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index c01092749e73..a4a952341231 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -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(); |