wina11y: sal_Bool -> bool

Change-Id: I348e293981bbaeec650a463c958c5e301a804422
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174272
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
Michael Weghorn 2024-09-30 12:31:03 +01:00
parent 557b161bd6
commit 347fe07246
2 changed files with 4 additions and 4 deletions

View file

@ -62,7 +62,7 @@ private:
DWORD GetMSAAStateFromUNO(sal_Int64 xState);//translate state from UNO to MSAA value
css::accessibility::XAccessibleSelection* GetXAccessibleSelection();
void GetExpandedState(sal_Bool* isExpandable, sal_Bool* isExpanded);
void GetExpandedState(bool* isExpandable, bool* isExpanded);
static OUString GetMAccessibleValueFromAny(css::uno::Any pAny);
public:

View file

@ -526,8 +526,8 @@ DWORD AccObject::GetMSAAStateFromUNO(sal_Int64 nState)
return STATE_SYSTEM_FOCUSED;
case AccessibleStateType::EXPANDABLE:
{
sal_Bool isExpanded = true;
sal_Bool isExpandable = true;
bool isExpanded = true;
bool isExpandable = true;
if (m_accRole == PUSH_BUTTON || m_accRole == TOGGLE_BUTTON || m_accRole == BUTTON_DROPDOWN)
return STATE_SYSTEM_HASPOPUP;
@ -853,7 +853,7 @@ void AccObject::unsetFocus()
m_pIMAcc->Put_XAccFocus(UACC_NO_FOCUS);
}
void AccObject::GetExpandedState( sal_Bool* isExpandable, sal_Bool* isExpanded)
void AccObject::GetExpandedState(bool* isExpandable, bool* isExpanded)
{
*isExpanded = false;
*isExpandable = false;