diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 13:51:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-19 14:45:54 +0000 |
commit | aea9c5ecdc17dbc15497afa4b6202f8af8a1a6d5 (patch) | |
tree | 53c218ac59c81bee4cbda9e3d5a3ed28fca48304 /winaccessibility/source | |
parent | clang-tidy misc-unused-alias-decls (diff) | |
download | core-aea9c5ecdc17dbc15497afa4b6202f8af8a1a6d5.tar.gz core-aea9c5ecdc17dbc15497afa4b6202f8af8a1a6d5.zip |
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/source')
-rw-r--r-- | winaccessibility/source/service/AccFrameEventListener.cxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/service/AccTopWindowListener.cxx | 2 |
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(...) { |