diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-02 14:42:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-12 11:56:38 +0200 |
commit | 815d84c984c6156a53ea3510294cbe9aba6f1b75 (patch) | |
tree | 33ec37b7d57bf668aa08f56b0b6e48925261939d /include/vcl | |
parent | 2231fcc0484f3225936b5cd1fd7f214a10f00848 (diff) |
remove virtual qualifier from a bunch of VCL ListBox methods
because no-one is overriding them.
Change-Id: I29650a197ecd3a56193a885a32ba7a72ccb78fc7
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/lstbox.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 34102ea2a223..6b34193e68a5 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -114,30 +114,30 @@ public: void EnableDDAutoWidth( sal_Bool b ); - virtual sal_uInt16 InsertEntry( const OUString& rStr, sal_uInt16 nPos = LISTBOX_APPEND ); - virtual sal_uInt16 InsertEntry( const Image& rImage, sal_uInt16 nPos = LISTBOX_APPEND ); - virtual sal_uInt16 InsertEntry( const OUString& rStr, const Image& rImage, sal_uInt16 nPos = LISTBOX_APPEND ); - virtual void RemoveEntry( const OUString& rStr ); - virtual void RemoveEntry( sal_uInt16 nPos ); + sal_uInt16 InsertEntry( const OUString& rStr, sal_uInt16 nPos = LISTBOX_APPEND ); + sal_uInt16 InsertEntry( const Image& rImage, sal_uInt16 nPos = LISTBOX_APPEND ); + sal_uInt16 InsertEntry( const OUString& rStr, const Image& rImage, sal_uInt16 nPos = LISTBOX_APPEND ); + void RemoveEntry( const OUString& rStr ); + void RemoveEntry( sal_uInt16 nPos ); - virtual void Clear(); + void Clear(); sal_uInt16 GetEntryPos( const OUString& rStr ) const; - virtual sal_uInt16 GetEntryPos( const void* pData ) const; + sal_uInt16 GetEntryPos( const void* pData ) const; Image GetEntryImage( sal_uInt16 nPos ) const; OUString GetEntry( sal_uInt16 nPos ) const; - virtual sal_uInt16 GetEntryCount() const; + sal_uInt16 GetEntryCount() const; - virtual void SelectEntry( const OUString& rStr, sal_Bool bSelect = sal_True ); - virtual void SelectEntryPos( sal_uInt16 nPos, sal_Bool bSelect = sal_True ); + void SelectEntry( const OUString& rStr, sal_Bool bSelect = sal_True ); + void SelectEntryPos( sal_uInt16 nPos, sal_Bool bSelect = sal_True ); - virtual sal_uInt16 GetSelectEntryCount() const; - virtual OUString GetSelectEntry( sal_uInt16 nSelIndex = 0 ) const; - virtual sal_uInt16 GetSelectEntryPos( sal_uInt16 nSelIndex = 0 ) const; + sal_uInt16 GetSelectEntryCount() const; + OUString GetSelectEntry( sal_uInt16 nSelIndex = 0 ) const; + sal_uInt16 GetSelectEntryPos( sal_uInt16 nSelIndex = 0 ) const; - virtual bool IsEntrySelected(const OUString& rStr) const; - virtual sal_Bool IsEntryPosSelected( sal_uInt16 nPos ) const; - virtual void SetNoSelection(); + bool IsEntrySelected(const OUString& rStr) const; + sal_Bool IsEntryPosSelected( sal_uInt16 nPos ) const; + void SetNoSelection(); void SetEntryData( sal_uInt16 nPos, void* pNewData ); void* GetEntryData( sal_uInt16 nPos ) const; |