summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-08 15:19:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-08 15:22:07 +0100
commit2bd7e85de0fefe83d1891592dd0b1647a817307e (patch)
tree957ebc3d111024cb34a7e6c6b47f9042bcfdba9b
parent4f28068e9aacb124f1d08c8dff774045a8d091ad (diff)
Resolves: tdf#91672 Crash in base report - right click in page header section
Change-Id: Ie7f9abc16e07c9ef44916e0cebe67486f3583449 (cherry picked from commit 43cc6fa1fa704ff53e56e8fe34e673c6733c9b4e)
-rw-r--r--reportdesign/source/ui/report/ViewsWindow.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx
index a998935883f3..e6ceac18e7f2 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();
}