summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-15 09:11:26 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-08-15 14:09:52 +0200
commit20b9dad2e881a743172559a29b66d30ca6ecbf6a (patch)
tree084ec7ec6f29a84080695e75af699b2cc59ae60d
parentd52f64b1ae7a95704ee9b17b034a43fcea05d1ea (diff)
Resolves: tdf#118609 crash in calc after some manipulation through basic
Change-Id: I518b15359b29c845604d2e9cde64bdb637078ba1 Reviewed-on: https://gerrit.libreoffice.org/59053 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/ui/app/inputhdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index b572b9ac06dc..d3912f18c032 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1908,7 +1908,7 @@ void ScInputHandler::SetInputWindow( ScInputWindow* pNew )
void ScInputHandler::StopInputWinEngine( bool bAll )
{
- if (pInputWin)
+ if (pInputWin && !pInputWin->IsDisposed())
pInputWin->StopEditEngine( bAll );
pTopView = nullptr; // invalid now