summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-30 12:31:03 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-30 21:39:54 +0200
commit347fe07246fcd8f844edf43dc9ce973e4e0a15a8 (patch)
treea81114bb7cd33db8345d027254be3501a9c7af72
parent557b161bd6925299ccc0983feff30237697317eb (diff)
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>
-rw-r--r--winaccessibility/inc/AccObject.hxx2
-rw-r--r--winaccessibility/source/service/AccObject.cxx6
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;