summaryrefslogtreecommitdiff
path: root/accessibility/source/extended/accessibleiconchoicectrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/source/extended/accessibleiconchoicectrl.cxx')
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index 18a4a344495d..3ec6e6e29c04 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -337,7 +337,7 @@ namespace accessibility
}
// if only one entry is selected and its index is chosen to deselect -> no selection anymore
- if ( 1 == nSelCount && bFound )
+ if ( nSelCount == 1 && bFound )
pCtrl->SetNoSelection();
}