summaryrefslogtreecommitdiff
path: root/sc
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:43 +0200
commitd1ce7f60c7ce7721a41093bebcbe7e87cb800688 (patch)
tree517edfce88149e3795ffe20315f0cf6a5fbeecd6 /sc
parentdc5474b2e2f361eec981c6955630dbb020442eae (diff)
Resolves: tdf#118609 crash in calc after some manipulation through basic
Change-Id: I518b15359b29c845604d2e9cde64bdb637078ba1 Reviewed-on: https://gerrit.libreoffice.org/59054 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-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 da4be2812150..90c1fbc59437 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