summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-11 16:00:03 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:22:37 +0200
commit76fa4d7bc530099e7a8f39c39be98b39c2c88fb4 (patch)
treeaa122d4b870526ef4dd9befc73b4c7996f8301d1 /avmedia
parentc7370e17980b41127015b97b4fc36439c6e468cd (diff)
tdf#91960 presentation causes Impress crash
The SystenChildWindow in question is owned by ViewMediaShape Fixed ViewMediaShape to dispose the vcl objects it creates correctly. Also fix another crash in MediaWindowImpl child window correctly disposing its children. Change-Id: If4aebcb6e5824266c154416f7246d73c6cb3509c Reviewed-on: https://gerrit.libreoffice.org/16230 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/viewer/mediawindow.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index 3108df45d8c9..6e7934890e8c 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -51,7 +51,10 @@ MediaWindow::MediaWindow( vcl::Window* parent, bool bInternalMediaControl ) :
-MediaWindow::~MediaWindow() {}
+MediaWindow::~MediaWindow()
+{
+ mpImpl.disposeAndClear();
+}