diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-05-26 17:02:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-05-26 17:07:18 +0100 |
commit | 8cce65007b506da38ca79ee8b5cdd62a1460fddd (patch) | |
tree | e07075f9f28330f39726361650660a2d843a2853 /reportdesign | |
parent | efe57384953c2a9eeb5f8fd65c2d548759ef05f7 (diff) |
avoid a global uno::Reference to the current XCommandEnvironment
because the Env is kept until we exit, which we get away with now. But we won't
get away with it if we set the parent window property of the InteractionHandler
belonging to the Env. Because we then end up trying to destroy the vcl dialog
well after all the vcl, etc infrastructure is torn down and crash on exit.
Here I'm assuming that its safe to use a WeakReference because we're just using
this to smuggle into the c-style callbacks a Reference to a Env currently
belonging to something else
Change-Id: I2d6b90ae23d5a24431dc49d4316bdc3194560403
Diffstat (limited to 'reportdesign')
0 files changed, 0 insertions, 0 deletions