diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-18 10:36:36 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-18 18:18:48 +0000 |
commit | 06562c678410e425de629109ce92933c2d89a8f6 (patch) | |
tree | 320a85d9de457bfc503cdad398e8bcfc2cf30376 /accessibility | |
parent | 6118ea49aee18a95ac124bbac695b3bb1b152c1d (diff) |
convert SV_BMP_ constants to enum
Change-Id: I46cb7f649fa44d8967e0e7da03583157d2706f05
Reviewed-on: https://gerrit.libreoffice.org/12018
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 |