summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-06-13 14:08:28 +0200
committerJan Holesovsky <kendy@suse.cz>2012-06-13 14:18:26 +0200
commitcba0dad4566652f63ea3114660da4e5c7dd88c31 (patch)
treee31282357397b4a24081ee3731e4ff46a2964901 /sc
parentTake care of short strings (diff)
downloadcore-cba0dad4566652f63ea3114660da4e5c7dd88c31.tar.gz
core-cba0dad4566652f63ea3114660da4e5c7dd88c31.zip
calc input line: Fix crash with accessibility enabled.
Change-Id: I4508ec866b7e8436e1a8117ac6496ed0f1537abf
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 37faa1d50eeb..a63fb3b46e73 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -118,7 +118,7 @@ ScTextWndBase::ScTextWndBase( Window* pParent, WinBits nStyle )
{
if ( IsNativeControlSupported( CTRL_EDITBOX, PART_ENTIRE_CONTROL ) )
{
- SetType( WINDOW_EDIT );
+ SetType( WINDOW_CALCINPUTLINE );
SetBorderStyle( WINDOW_BORDER_NWF );
}
}