From 06562c678410e425de629109ce92933c2d89a8f6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 18 Oct 2014 10:36:36 +0200 Subject: convert SV_BMP_ constants to enum Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05 Reviewed-on: https://gerrit.libreoffice.org/12018 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- accessibility/source/extended/accessiblelistboxentry.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'accessibility/source') diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 06de24abb0ec..31f0947307f6 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -790,9 +790,9 @@ namespace accessibility SvTreeListEntry* pEntry = getListBox()->GetEntryFromPath( m_aEntryPath ); SvButtonState state = getListBox()->GetCheckButtonState( pEntry ); if ( state == SV_BUTTON_CHECKED ) - getListBox()->SetCheckButtonState(pEntry, (SvButtonState)SV_BMP_UNCHECKED); - else if (state == SV_BMP_UNCHECKED) - getListBox()->SetCheckButtonState(pEntry, (SvButtonState)SV_BUTTON_CHECKED); + getListBox()->SetCheckButtonState(pEntry, SV_BUTTON_UNCHECKED); + else if (state == SV_BUTTON_UNCHECKED) + getListBox()->SetCheckButtonState(pEntry, SV_BUTTON_CHECKED); } } else if( (nIndex == 1 && (treeFlag & TREEFLAG_CHKBTN) ) || (nIndex == 0) ) @@ -831,7 +831,7 @@ namespace accessibility { if ( state == SV_BUTTON_CHECKED ) return sActionDesc2; - else if (state == SV_BMP_UNCHECKED) + else if (state == SV_BUTTON_UNCHECKED) return sActionDesc1; } else -- cgit