bug 657719 - nsXformsSelectableAccessible::IsItemSelected() -> IsSelected() r=surkov

From b302c0e2cc2b8fc912192e9836e1c35fbb25b664 Mon Sep 17 00:00:00 2001
---
 accessible/src/xforms/nsXFormsAccessible.cpp       |    4 ++--
 accessible/src/xforms/nsXFormsAccessible.h         |    2 +-
 .../src/xforms/nsXFormsFormControlsAccessible.cpp  |    8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)
This commit is contained in:
Trevor Saunders 2011-06-13 20:31:08 -07:00
parent 9595c15ef3
commit 7444823798
3 changed files with 7 additions and 7 deletions

View File

@ -562,8 +562,8 @@ nsXFormsSelectableItemAccessible::DoAction(PRUint8 aIndex)
return NS_OK;
}
PRBool
nsXFormsSelectableItemAccessible::IsItemSelected()
bool
nsXFormsSelectableItemAccessible::IsSelected()
{
nsresult rv;

View File

@ -194,7 +194,7 @@ public:
NS_IMETHOD DoAction(PRUint8 aIndex);
protected:
PRBool IsItemSelected();
bool IsSelected();
};
#endif

View File

@ -502,7 +502,7 @@ nsXFormsItemCheckgroupAccessible::NativeState()
{
PRUint64 state = nsXFormsSelectableItemAccessible::NativeState();
if (IsItemSelected())
if (IsSelected())
state |= states::CHECKED;
return state;
@ -514,7 +514,7 @@ nsXFormsItemCheckgroupAccessible::GetActionName(PRUint8 aIndex, nsAString& aName
if (aIndex != eAction_Click)
return NS_ERROR_INVALID_ARG;
if (IsItemSelected())
if (IsSelected())
aName.AssignLiteral("uncheck");
else
aName.AssignLiteral("check");
@ -544,7 +544,7 @@ nsXFormsItemRadiogroupAccessible::NativeState()
{
PRUint64 state = nsXFormsSelectableItemAccessible::NativeState();
if (IsItemSelected())
if (IsSelected())
state |= states::CHECKED;
return state;
@ -627,7 +627,7 @@ nsXFormsItemComboboxAccessible::NativeState()
return state;
state |= states::SELECTABLE;
if (IsItemSelected())
if (IsSelected())
state |= states::SELECTED;
return state;