loplugin:vclwidgets
Change-Id: I518db241a76bccbe060242eeeafd58135b2ac560
This commit is contained in:
parent
b8b05986e7
commit
fa194e7dfc
2 changed files with 3 additions and 3 deletions
|
@ -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(),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue