From b030ba2e13a02c231783966b23ded76247bb9690 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 19 May 2016 14:46:50 +0100 Subject: 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 --- winaccessibility/source/service/AccFrameEventListener.cxx | 2 +- winaccessibility/source/service/AccTopWindowListener.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'winaccessibility') 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(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(...) { -- cgit