diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-26 01:26:38 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-26 07:51:19 +0000 |
commit | ef699b4d41cc602322d980027956aab636c776d5 (patch) | |
tree | 65856032b9b3bd285558f5fb6d6b21598a50d548 /svtools/source/contnr/svlbitm.cxx | |
parent | 213a11b94caf28ffae927169ebd372a866f8f9b2 (diff) |
convert SV_ITEM_ID_LBOX defines to scoped enum
and remove unused SV_ITEM_ID_EXTENDRLBOXSTRING
Change-Id: Ic84d9341d0225b01b9ef46814483c66b1af307b5
Reviewed-on: https://gerrit.libreoffice.org/28397
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools/source/contnr/svlbitm.cxx')
-rw-r--r-- | svtools/source/contnr/svlbitm.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx index d12b792096b8..4aeb7eef7b79 100644 --- a/svtools/source/contnr/svlbitm.cxx +++ b/svtools/source/contnr/svlbitm.cxx @@ -180,9 +180,9 @@ SvLBoxString::~SvLBoxString() { } -sal_uInt16 SvLBoxString::GetType() const +SvLBoxItemType SvLBoxString::GetType() const { - return SV_ITEM_ID_LBOXSTRING; + return SvLBoxItemType::String; } void SvLBoxString::Paint( @@ -250,9 +250,9 @@ SvLBoxBmp::~SvLBoxBmp() { } -sal_uInt16 SvLBoxBmp::GetType() const +SvLBoxItemType SvLBoxBmp::GetType() const { - return SV_ITEM_ID_LBOXBMP; + return SvLBoxItemType::Bmp; } void SvLBoxBmp::InitViewData( SvTreeListBox* pView,SvTreeListEntry* pEntry, @@ -309,9 +309,9 @@ SvLBoxButton::~SvLBoxButton() { } -sal_uInt16 SvLBoxButton::GetType() const +SvLBoxItemType SvLBoxButton::GetType() const { - return SV_ITEM_ID_LBOXBUTTON; + return SvLBoxItemType::Button; } bool SvLBoxButton::ClickHdl( SvTreeListBox*, SvTreeListEntry* pEntry ) @@ -465,9 +465,9 @@ SvLBoxContextBmp::~SvLBoxContextBmp() { } -sal_uInt16 SvLBoxContextBmp::GetType() const +SvLBoxItemType SvLBoxContextBmp::GetType() const { - return SV_ITEM_ID_LBOXCONTEXTBMP; + return SvLBoxItemType::ContextBmp; } void SvLBoxContextBmp::SetModeImages( const Image& _rBitmap1, const Image& _rBitmap2 ) |