diff options
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObject.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 62a4cb67ca1a..5c92f6de9edb 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -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: diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index 822c5c58db08..5bd3419a00a3 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -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; |