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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/utlui/glbltree.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 214eb62e982e..096fc3f4f85a 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -1783,7 +1783,7 @@ void SwIdxTreeListBox::RequestHelp( const HelpEvent& rHEvt ) { SvLBoxTab* pTab; SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab ); - if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType()) + if (pItem && SvLBoxItemType::String == pItem->GetType()) { aPos = GetEntryPosition( pEntry ); diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 31e2d5508611..7ae9017c0e67 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2808,7 +2808,7 @@ void SwContentTree::RequestHelp( const HelpEvent& rHEvt ) { SvLBoxTab* pTab; SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab ); - if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType()) + if (pItem && SvLBoxItemType::String == pItem->GetType()) { aPos = GetEntryPosition( pEntry ); diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index e8e47994680d..1030003ba4a0 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -473,7 +473,7 @@ void SwGlobalTree::RequestHelp( const HelpEvent& rHEvt ) bParent = false; SvLBoxTab* pTab; SvLBoxItem* pItem = GetItem( pEntry, aPos.X(), &pTab ); - if (pItem && SV_ITEM_ID_LBOXSTRING == pItem->GetType()) + if (pItem && SvLBoxItemType::String == pItem->GetType()) { const SwSection* pSect = pCont->GetSection(); OUString sEntry = pSect->GetLinkFileName().getToken(0, sfx2::cTokenSeparator); |