summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-19 13:51:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-19 14:45:54 +0000
commitaea9c5ecdc17dbc15497afa4b6202f8af8a1a6d5 (patch)
tree53c218ac59c81bee4cbda9e3d5a3ed28fca48304 /winaccessibility
parent2383d557e5751387451cefa33516736228429137 (diff)
rename to two GetSystemData methods to find all call-sites
anyplace calling GetSystemChildSystemData on a SystemChildWindow is definitely right anyplace calling GetWindowSystemData on a Window *might* have intended to call GetSystemChildSystemData on a Window casted back to an underlying SystemChildWindow. Change-Id: I7dcf3a50d0b7ed29bc08cfdb15cc0dcb86be8fa7 Reviewed-on: https://gerrit.libreoffice.org/25158 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/service/AccFrameEventListener.cxx2
-rw-r--r--winaccessibility/source/service/AccTopWindowListener.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccFrameEventListener.cxx b/winaccessibility/source/service/AccFrameEventListener.cxx
index ece7d90b543b..d5d050243cdd 100644
--- a/winaccessibility/source/service/AccFrameEventListener.cxx
+++ b/winaccessibility/source/service/AccFrameEventListener.cxx
@@ -89,7 +89,7 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue)
VCLXWindow* pvclwindow =
dynamic_cast<VCLXWindow*>(m_xAccessible.get());
vcl::Window* window = pvclwindow->GetWindow();
- const SystemEnvData* systemdata=window->GetSystemData();
+ const SystemEnvData* systemdata=window->GetWindowSystemData();
//add this child
pAgent->InsertAccObj(pAcc, m_xAccessible.get(),
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index b1b91a0f7fdb..c30a7c656fc6 100644
--- a/winaccessibility/source/service/AccTopWindowListener.cxx
+++ b/winaccessibility/source/service/AccTopWindowListener.cxx
@@ -57,7 +57,7 @@ void AccTopWindowListener::HandleWindowOpened( css::accessibility::XAccessible*
const SystemEnvData* systemdata = NULL;
try
{
- systemdata = window->GetSystemData();
+ systemdata = window->GetWindowSystemData();
}
catch(...)
{