summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-07 16:31:40 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-07 16:31:40 +0000
commitadffe02bb6c71b7f380a51d9b479e6ca3de257dd (patch)
tree9bd43761311df65dc5e67ec391ce9f2a280b3c57 /svtools
parent518c3790378f684510d1532c6ab161f6ac962470 (diff)
INTEGRATION: CWS os49 (1.37.58); FILE MERGED
2005/02/07 08:11:05 os 1.37.58.2: RESYNC: (1.37-1.38); FILE MERGED 2005/01/19 20:12:35 os 1.37.58.1: #i40219# ::IsSimpleCharInput(): Neither Alt nor Ctrl are part of a simple input
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/edit/texteng.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx
index 0c4a14e94b16..50c18c9c29c6 100644
--- a/svtools/source/edit/texteng.cxx
+++ b/svtools/source/edit/texteng.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: texteng.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: rt $ $Date: 2005-01-31 09:25:50 $
+ * last change: $Author: vg $ $Date: 2005-03-07 17:31:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -477,7 +477,7 @@ BOOL TextEngine::IsSimpleCharInput( const KeyEvent& rKeyEvent )
{
if( rKeyEvent.GetCharCode() >= 32 && rKeyEvent.GetCharCode() != 127 &&
#ifndef MAC
- KEY_MOD2 != (rKeyEvent.GetKeyCode().GetModifier() & ~KEY_SHIFT ) )
+ 0 == ((KEY_MOD2|KEY_MOD1) & (rKeyEvent.GetKeyCode().GetModifier() ) ))
#else
KEY_MOD1 != rKeyEvent.GetKeyCode().GetModifier() )
#endif