Kaydet (Commit) fa194e7d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:vclwidgets

Change-Id: I518db241a76bccbe060242eeeafd58135b2ac560
üst b8b05986
...@@ -88,8 +88,8 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue) ...@@ -88,8 +88,8 @@ void AccFrameEventListener::HandleChildChangedEvent(Any oldValue, Any newValue)
VCLXWindow* pvclwindow = VCLXWindow* pvclwindow =
dynamic_cast<VCLXWindow*>(m_xAccessible.get()); dynamic_cast<VCLXWindow*>(m_xAccessible.get());
vcl::Window* window = pvclwindow->GetWindow(); const SystemEnvData* systemdata
const SystemEnvData* systemdata=window->GetSystemData(); = pvclwindow->GetWindow()->GetSystemData();
//add this child //add this child
pAgent->InsertAccObj(pAcc, m_xAccessible.get(), pAgent->InsertAccObj(pAcc, m_xAccessible.get(),
......
...@@ -52,7 +52,7 @@ void AccTopWindowListener::HandleWindowOpened( css::accessibility::XAccessible* ...@@ -52,7 +52,7 @@ void AccTopWindowListener::HandleWindowOpened( css::accessibility::XAccessible*
{ {
//get SystemData from window //get SystemData from window
VCLXWindow* pvclwindow = static_cast<VCLXWindow*>(pAccessible); 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 // The SalFrame of window may be destructed at this time
const SystemEnvData* systemdata = nullptr; const SystemEnvData* systemdata = nullptr;
try try
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment