diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-11 14:09:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-11 14:09:50 +0100 |
commit | fa194e7dfc971fe3c90cdfdbf9ded3955d107202 (patch) | |
tree | 330b99fcf8f78708694e6de1c4a90db8135ac84c /winaccessibility | |
parent | b8b05986e7ba37b90d4636f87bc31703cdff9d67 (diff) |
loplugin:vclwidgets
Change-Id: I518db241a76bccbe060242eeeafd58135b2ac560
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/service/AccFrameEventListener.cxx | 4 | ||||
-rw-r--r-- | winaccessibility/source/service/AccTopWindowListener.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/winaccessibility/source/service/AccFrameEventListener.cxx b/winaccessibility/source/service/AccFrameEventListener.cxx index 86e997a5be02..0dbb45130ff4 100644 --- a/winaccessibility/source/service/AccFrameEventListener.cxx +++ b/winaccessibility/source/service/AccFrameEventListener.cxx @@ -88,8 +88,8 @@ 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 + = pvclwindow->GetWindow()->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 ee78e2f7f8ec..9fda3ed1732a 100644 --- a/winaccessibility/source/service/AccTopWindowListener.cxx +++ b/winaccessibility/source/service/AccTopWindowListener.cxx @@ -52,7 +52,7 @@ void AccTopWindowListener::HandleWindowOpened( css::accessibility::XAccessible* { //get SystemData from window VCLXWindow* pvclwindow = static_cast<VCLXWindow*>(pAccessible); - vcl::Window* window = pvclwindow->GetWindow(); + auto window = pvclwindow->GetWindow(); // The SalFrame of window may be destructed at this time const SystemEnvData* systemdata = nullptr; try |