summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-04 21:10:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-11-05 06:45:07 +0000
commit3c58f0768049718fae3d47d5ebfa6c7485ad52b1 (patch)
tree33235262521b5721e09a299a8fe47e444adb477c /accessibility
parent705c48d32eec0aa5180e60ca157daca4b154e4a3 (diff)
fdo#84938: replace TOOLBOXITEM_ constants with enum
Change-Id: I08c4a456f9e80f70719ca8c3ad5c0f0d2d8282f6 Reviewed-on: https://gerrit.libreoffice.org/12258 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/standard/vclxaccessibletoolboxitem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
index 7906f64521ec..b3143a362a29 100644
--- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx
@@ -80,7 +80,7 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
ToolBoxItemType eType = m_pToolBox->GetItemType( (sal_uInt16)m_nIndexInParent );
switch ( eType )
{
- case TOOLBOXITEM_BUTTON :
+ case ToolBoxItemType::BUTTON :
{
ToolBoxItemBits nBits = m_pToolBox->GetItemBits( m_nItemId );
if (
@@ -99,12 +99,12 @@ VCLXAccessibleToolBoxItem::VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_In
break;
}
- case TOOLBOXITEM_SPACE :
+ case ToolBoxItemType::SPACE :
m_nRole = AccessibleRole::FILLER;
break;
- case TOOLBOXITEM_SEPARATOR :
- case TOOLBOXITEM_BREAK :
+ case ToolBoxItemType::SEPARATOR :
+ case ToolBoxItemType::BREAK :
m_nRole = AccessibleRole::SEPARATOR;
break;