summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-15 09:11:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-15 14:58:43 +0200
commit94f99ad38238f223b6fbed252e099581e0090e65 (patch)
treed135b75d96650ae81f5cef76a13ea3366c7ce404
parent664b4f31e6bd609846fd4bb2a17730209fe73ae5 (diff)
Resolves: tdf#118609 crash in calc after some manipulation through basic
Change-Id: I518b15359b29c845604d2e9cde64bdb637078ba1 Reviewed-on: https://gerrit.libreoffice.org/59052 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.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 4c1f3a51e9d6..cc02c55468db 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1896,7 +1896,7 @@ void ScInputHandler::SetInputWindow( ScInputWindow* pNew )
void ScInputHandler::StopInputWinEngine( bool bAll )
{
- if (pInputWin)
+ if (pInputWin && !pInputWin->IsDisposed())
pInputWin->StopEditEngine( bAll );
pTopView = nullptr; // invalid now