summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-19 14:46:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-19 15:53:14 +0100
commitb030ba2e13a02c231783966b23ded76247bb9690 (patch)
tree82cfbea3c5ba32cbfb456f3564ef2dfc1e10d62d /winaccessibility
parentab25d7cfec956b6c31551ee5c00bd6bcae4b0bb5 (diff)
Resolve: "TODO(Q1): Make GetSystemData method virtual"
and remove the casting silliness, allowing the removal of cairo_cairo.?xx If anything is to go wrong I'd guess it'll be the windows directx stuff. Change-Id: I3e22c07b9c26ade9b27a245fdd8408de540643f4
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 d5d050243cdd..ece7d90b543b 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->GetWindowSystemData();
+ const SystemEnvData* systemdata=window->GetSystemData();
//add this child
pAgent->InsertAccObj(pAcc, m_xAccessible.get(),
diff --git a/winaccessibility/source/service/AccTopWindowListener.cxx b/winaccessibility/source/service/AccTopWindowListener.cxx
index c30a7c656fc6..b1b91a0f7fdb 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->GetWindowSystemData();
+ systemdata = window->GetSystemData();
}
catch(...)
{