summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-26 01:26:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-26 07:51:19 +0000
commitef699b4d41cc602322d980027956aab636c776d5 (patch)
tree65856032b9b3bd285558f5fb6d6b21598a50d548 /svx
parent213a11b94caf28ffae927169ebd372a866f8f9b2 (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 'svx')
-rw-r--r--svx/source/dialog/checklbx.cxx2
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index 11e4bda87eb8..e2c230272868 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -181,7 +181,7 @@ void SvxCheckListBox::MouseButtonDown( const MouseEvent& rMEvt )
bool bCheck = GetCheckButtonState( pEntry ) == SvButtonState::Checked;
SvLBoxItem* pItem = GetItem( pEntry, aPnt.X() );
- if (pItem && pItem->GetType() == SV_ITEM_ID_LBOXBUTTON)
+ if (pItem && pItem->GetType() == SvLBoxItemType::Button)
{
SvTreeListBox::MouseButtonDown( rMEvt );
Select( pEntry );
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
index 94d0b0cec0a9..778659cc7b43 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx
@@ -305,11 +305,11 @@ sal_Int32 DictionaryList::ColumnCompare( SvTreeListEntry* pLeft, SvTreeListEntry
if(pLeftItem != nullptr && pRightItem != nullptr)
{
- sal_uInt16 nLeftKind = pLeftItem->GetType();
- sal_uInt16 nRightKind = pRightItem->GetType();
+ SvLBoxItemType nLeftKind = pLeftItem->GetType();
+ SvLBoxItemType nRightKind = pRightItem->GetType();
- if(nRightKind == SV_ITEM_ID_LBOXSTRING &&
- nLeftKind == SV_ITEM_ID_LBOXSTRING )
+ if (nRightKind == SvLBoxItemType::String &&
+ nLeftKind == SvLBoxItemType::String)
{
IntlWrapper aIntlWrapper( Application::GetSettings().GetLanguageTag() );
const CollatorWrapper* pCollator = aIntlWrapper.getCaseCollator();