summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartWindow.cxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-12-11 18:19:43 -0500
committerMichael Meeks <michael.meeks@collabora.com>2019-12-16 17:30:01 +0000
commit7542c600dc406bcd29f7a6825e4df7559676c9f7 (patch)
treeb2138ba443bfaca3c20755421a877b6a8b2e660f /chart2/source/controller/main/ChartWindow.cxx
parentsfx2: sidebar: notify mobile when the sidebar closes (diff)
downloadcore-7542c600dc406bcd29f7a6825e4df7559676c9f7.tar.gz
core-7542c600dc406bcd29f7a6825e4df7559676c9f7.zip
chart2: clear listener parents in dispose
Change-Id: Icdab125589ab0f55255f683a1ea39e036de661b1 Reviewed-on: https://gerrit.libreoffice.org/84997 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'chart2/source/controller/main/ChartWindow.cxx')
-rw-r--r--chart2/source/controller/main/ChartWindow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx
index 2a3bd54a85e6..0971fd079ca1 100644
--- a/chart2/source/controller/main/ChartWindow.cxx
+++ b/chart2/source/controller/main/ChartWindow.cxx
@@ -74,6 +74,7 @@ ChartWindow::~ChartWindow()
void ChartWindow::dispose()
{
+ m_pWindowController = nullptr;
m_pViewShellWindow.clear();
vcl::Window::dispose();
}