summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-06 01:16:43 +0100
committerNoel Power <noel.power@novell.com>2012-03-06 09:35:08 +0000
commit0dfd481888abcb14b601ca039692e9d83c1be19a (patch)
tree456d600593985afa46bd99332be1483c3dff01c7
parente67c7884d10caf4714d152f1d98c0f4f7e6c10f1 (diff)
don't crash when scrolling in input line, fdo#46975
Signed-off-by: Noel Power <noel.power@novell.com>
-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 3e53062dbd31..b7592e30c025 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1609,6 +1609,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 );
}