[Libreoffice-commits] .: sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Mon Jun 20 12:01:00 PDT 2011
sc/source/ui/app/inputhdl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 165ccab687d976d06afa0b02582065045132ee6d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Jun 20 20:28:07 2011 +0200
fix for fdo38455: prevent crash in Data->DefineRange
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 3ecdebf..a673553 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -3081,7 +3081,7 @@ sal_Bool ScInputHandler::KeyInput( const KeyEvent& rKEvt, sal_Bool bStartEdit /*
sal_Bool bCursorKey = EditEngine::DoesKeyMoveCursor(rKEvt);
sal_Bool bInsKey = ( nCode == KEY_INSERT && !nModi ); // Insert wie Cursortasten behandeln
if ( !bUsed && !bSkip && ( bDoEnter || EditEngine::DoesKeyChangeText(rKEvt) ||
- ( eMode != SC_INPUT_NONE && ( bCursorKey || bInsKey ) ) ) )
+ ( eMode != SC_INPUT_NONE && ( bCursorKey || bInsKey ) ) ) && pActiveViewSh)
{
HideTip();
HideTipBelow();
More information about the Libreoffice-commits
mailing list