From 43cc6fa1fa704ff53e56e8fe34e673c6733c9b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 8 Jun 2015 15:19:58 +0100 Subject: [PATCH] Resolves: tdf#91672 Crash in base report - right click in page header section Change-Id: Ie7f9abc16e07c9ef44916e0cebe67486f3583449 --- reportdesign/source/ui/report/ViewsWindow.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index 4b9d30d63f0e..11c32b43b1b1 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -317,6 +317,7 @@ void OViewsWindow::removeSection(sal_uInt16 _nPosition) m_pParent->getReportView()->UpdatePropertyBrowserDelayed((*aNew)->getReportSection().getSectionView()); + aPos->disposeAndClear();; m_aSections.erase(aPos); Resize(); }