summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-06 01:16:43 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-06 01:18:45 +0100
commit77a517a467b3aa944e31b170162518f70da3793d (patch)
tree7278ac1057c3ab98f3480c5414d08875aaa469b2 /sc/source/ui/app
parenta5d28eaa69827ea3efe12f36517bb3e6915b1c8d (diff)
don't crash when scrolling in input line, fdo#46975
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputwin.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 3a53bb076348..c60b6ff187aa 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1613,6 +1613,10 @@ void ScTextWnd::Command( const CommandEvent& rCEvt )
rBindings.Invalidate( SID_ATTR_CHAR_FONTHEIGHT );
}
}
+ else if ( nCommand == COMMAND_WHEEL )
+ {
+ //don't call InputChanged for COMMAND_WHEEL
+ }
else
SC_MOD()->InputChanged( pEditView );
}