Hack to make an in-destruction SystemWindow no longer claim to be one
as observed by -fsanitize=vptr e.g. during CppunitTest_sc_macros_test (though the true fix might be to prevent all this from happening during ~SystemWindow anyway?): vcl::ImplGetLastSystemWindow(vcl::Window*) vcl::Window::SetParent(vcl::Window*) vcl::Window::doLazyDelete() UnoWrapper::WindowDestroyed(vcl::Window*) vcl::Window::~Window() SystemWindow::~SystemWindow() WorkWindow::~WorkWindow() VCLXDevice::DestroyOutputDevice() VCLXWindow::dispose() (anonymous namespace)::Frame::impl_disposeContainerWindow(com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&) (anonymous namespace)::Frame::dispose() (anonymous namespace)::Frame::close(unsigned char) non-virtual thunk to (anonymous namespace)::Frame::close(unsigned char) SfxFrame::DoClose() ... Change-Id: I91495eaa3cb2c636fd093ae7eb8b6ae4733002bb
Showing
Please
register
or
sign in
to comment