diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-15 09:11:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-15 14:58:43 +0200 |
commit | 94f99ad38238f223b6fbed252e099581e0090e65 (patch) | |
tree | d135b75d96650ae81f5cef76a13ea3366c7ce404 | |
parent | 664b4f31e6bd609846fd4bb2a17730209fe73ae5 (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.cxx | 2 |
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 |