[Libreoffice-commits] core.git: winaccessibility/source
Stephan Bergmann
sbergman at redhat.com
Fri Nov 11 13:10:18 UTC 2016
winaccessibility/source/service/AccFrameEventListener.cxx | 4 ++--
winaccessibility/source/service/AccTopWindowListener.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit fa194e7dfc971fe3c90cdfdbf9ded3955d107202
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 11 14:09:50 2016 +0100
loplugin:vclwidgets
Change-Id: I518db241a76bccbe060242eeeafd58135b2ac560
diff --git a/winaccessibility/source/service/AccFrameEventListener.cxx b/winaccessibility/source/service/AccFrameEventListener.cxx
index 86e997a..0dbb451 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 ee78e2f..9fda3ed 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
More information about the Libreoffice-commits
mailing list