summaryrefslogtreecommitdiff
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-06 00:16:43 (GMT)
committer Markus Mohrhard <markus.mohrhard@googlemail.com>2012-03-06 00:18:45 (GMT)
commit77a517a467b3aa944e31b170162518f70da3793d (patch) (side-by-side diff)
tree7278ac1057c3ab98f3480c5414d08875aaa469b2
parenta5d28eaa69827ea3efe12f36517bb3e6915b1c8d (diff)
downloadcore-77a517a467b3aa944e31b170162518f70da3793d.zip
core-77a517a467b3aa944e31b170162518f70da3793d.tar.gz
don't crash when scrolling in input line, fdo#46975
Diffstat (more/less context) (ignore whitespace changes)
-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 3a53bb0..c60b6ff 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 );
}