summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-02-28 11:31:49 +0000
committerMichael Weghorn <m.weghorn@posteo.de>2022-02-28 17:43:04 +0100
commit95e2e5190cf69c5b931639d2b9279e0adbbdaf3b (patch)
treed026477901da62e9217d6b612ad9aecdc720aa1c /winaccessibility
parent6723203528739430974d5c1dd14a26f8d4efcf0a (diff)
wina11y: Rename IsSpecialToolboItem -> IsSpecialToolbarItem
Change-Id: I972a65783fcb481e91db68e6e58124d46f78ee66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130698 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/inc/AccObjectManagerAgent.hxx2
-rw-r--r--winaccessibility/inc/AccObjectWinManager.hxx2
-rw-r--r--winaccessibility/source/service/AccComponentEventListener.cxx4
-rw-r--r--winaccessibility/source/service/AccObjectManagerAgent.cxx4
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/winaccessibility/inc/AccObjectManagerAgent.hxx b/winaccessibility/inc/AccObjectManagerAgent.hxx
index f0f0ca06a66a..d91f33ef1818 100644
--- a/winaccessibility/inc/AccObjectManagerAgent.hxx
+++ b/winaccessibility/inc/AccObjectManagerAgent.hxx
@@ -87,7 +87,7 @@ public:
void UpdateChildState(css::accessibility::XAccessible* pXAcc);
- bool IsSpecialToolboItem(css::accessibility::XAccessible* pXAcc);
+ bool IsSpecialToolbarItem(css::accessibility::XAccessible* pXAcc);
short GetRole(css::accessibility::XAccessible* pXAcc);
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx
index 6ab6d61322da..342d2278d42d 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -139,7 +139,7 @@ public:
void UpdateChildState(css::accessibility::XAccessible* pXAcc);
- bool IsSpecialToolboItem(css::accessibility::XAccessible* pXAcc);
+ bool IsSpecialToolbarItem(css::accessibility::XAccessible* pXAcc);
static short GetRole(css::accessibility::XAccessible* pXAcc);
diff --git a/winaccessibility/source/service/AccComponentEventListener.cxx b/winaccessibility/source/service/AccComponentEventListener.cxx
index 21de787addee..f2a649a05272 100644
--- a/winaccessibility/source/service/AccComponentEventListener.cxx
+++ b/winaccessibility/source/service/AccComponentEventListener.cxx
@@ -216,7 +216,7 @@ void AccComponentEventListener::FireStatePropertyChange(short state, bool set)
pAgent->IncreaseState(m_xAccessible.get(), state);
pAgent->UpdateAction(m_xAccessible.get());
- if(!pAgent->IsSpecialToolboItem(m_xAccessible.get()))
+ if (!pAgent->IsSpecialToolbarItem(m_xAccessible.get()))
{
pAgent->NotifyAccEvent(UnoMSAAEvent::STATE_CHECKED, m_xAccessible.get());
}
@@ -255,7 +255,7 @@ void AccComponentEventListener::FireStatePropertyChange(short state, bool set)
pAgent->DecreaseState(m_xAccessible.get(), state);
pAgent->UpdateAction(m_xAccessible.get());
- if(!pAgent->IsSpecialToolboItem(m_xAccessible.get()))
+ if (!pAgent->IsSpecialToolbarItem(m_xAccessible.get()))
{
pAgent->NotifyAccEvent(UnoMSAAEvent::STATE_CHECKED, m_xAccessible.get());
}
diff --git a/winaccessibility/source/service/AccObjectManagerAgent.cxx b/winaccessibility/source/service/AccObjectManagerAgent.cxx
index ee2690a71797..b67a2294eac7 100644
--- a/winaccessibility/source/service/AccObjectManagerAgent.cxx
+++ b/winaccessibility/source/service/AccObjectManagerAgent.cxx
@@ -328,10 +328,10 @@ void AccObjectManagerAgent::UpdateChildState(XAccessible* pXAcc)
}
-bool AccObjectManagerAgent::IsSpecialToolboItem(XAccessible* pXAcc)
+bool AccObjectManagerAgent::IsSpecialToolbarItem(XAccessible* pXAcc)
{
if(pWinManager)
- return pWinManager->IsSpecialToolboItem( pXAcc );
+ return pWinManager->IsSpecialToolbarItem(pXAcc);
return false;
}
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index 24dce8fc8249..d24154769b05 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -1144,7 +1144,7 @@ void AccObjectWinManager::UpdateChildState(css::accessibility::XAccessible* pAcc
}
-bool AccObjectWinManager::IsSpecialToolboItem(css::accessibility::XAccessible* pXAcc)
+bool AccObjectWinManager::IsSpecialToolbarItem(css::accessibility::XAccessible* pXAcc)
{
if (pXAcc && oldFocus != pXAcc)
{