diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 20:35:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-07 21:23:54 +0200 |
commit | 464439667f7f3e356549d91380ebd58273ccce9d (patch) | |
tree | 5b8a2b69a5a5be6f62a7c000fec31acb4337bccc /sc/source | |
parent | 66d02a560469aa42990b2eff0fe9bce1f82dc21a (diff) |
fix crash when canceling the chart wizard
Change-Id: Iebd9db279e9db22bc273509cf480737d7c7a1dd6
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/drawfunc/fuins2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index 873588d36f4a..0c941b25788c 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -724,7 +724,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* sal_Int16 nDialogRet = xDialog->execute(); if( nDialogRet == ui::dialogs::ExecutableDialogResults::CANCEL ) { - delete pWindow; + delete pChildWindow; // leave OLE inplace mode and unmark OSL_ASSERT( pViewShell ); OSL_ASSERT( pView ); |