summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-01-14 15:21:17 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-01-14 15:21:17 +0000
commitd0627050c93d470dbd2592e7c2860747f16f7cc5 (patch)
treeb41343356d0086b88b7e3a42bff3a102200a4f7d /vcl/source
parentbc89ebbc9b3f00d7806947dbe3e9beb539f69c9f (diff)
INTEGRATION: CWS aquavcl04 (1.24.102); FILE MERGED
2007/10/19 14:42:29 pl 1.24.102.1: #i79131# no more KEY_CONTROLMOD
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/control/field2.cxx24
1 files changed, 9 insertions, 15 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 1f2ef5da781d..9c9594176856 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: field2.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 20:05:38 $
+ * last change: $Author: ihi $ $Date: 2008-01-14 16:21:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -681,7 +681,7 @@ static BOOL ImplPatternProcessKeyInput( Edit* pEdit, const KeyEvent& rKEvt,
}
}
- if ( aCode.IsControlMod() || (cChar < 32) || (cChar == 127) )
+ if ( (cChar < 32) || (cChar == 127) )
return FALSE;
Selection aSel = aOldSel;
@@ -992,8 +992,7 @@ PatternField::~PatternField()
long PatternField::PreNotify( NotifyEvent& rNEvt )
{
- if ( (rNEvt.GetType() == EVENT_KEYINPUT) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ if ( (rNEvt.GetType() == EVENT_KEYINPUT) )
{
if ( ImplPatternProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), GetEditMask(), GetLiteralMask(),
IsStrictFormat(), GetFormatFlags(),
@@ -1071,8 +1070,7 @@ PatternBox::~PatternBox()
long PatternBox::PreNotify( NotifyEvent& rNEvt )
{
- if ( (rNEvt.GetType() == EVENT_KEYINPUT) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ if ( (rNEvt.GetType() == EVENT_KEYINPUT) )
{
if ( ImplPatternProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), GetEditMask(), GetLiteralMask(),
IsStrictFormat(), GetFormatFlags(),
@@ -2159,8 +2157,7 @@ DateField::~DateField()
long DateField::PreNotify( NotifyEvent& rNEvt )
{
if ( (rNEvt.GetType() == EVENT_KEYINPUT) && IsStrictFormat() &&
- ( GetExtDateFormat() != XTDATEF_SYSTEM_LONG ) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ ( GetExtDateFormat() != XTDATEF_SYSTEM_LONG ) )
{
if ( ImplDateProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), GetExtDateFormat( TRUE ), ImplGetLocaleDataWrapper() ) )
return 1;
@@ -2304,8 +2301,7 @@ DateBox::~DateBox()
long DateBox::PreNotify( NotifyEvent& rNEvt )
{
if ( (rNEvt.GetType() == EVENT_KEYINPUT) && IsStrictFormat() &&
- ( GetExtDateFormat() != XTDATEF_SYSTEM_LONG ) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ ( GetExtDateFormat() != XTDATEF_SYSTEM_LONG ) )
{
if ( ImplDateProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), GetExtDateFormat( TRUE ), ImplGetLocaleDataWrapper() ) )
return 1;
@@ -3208,8 +3204,7 @@ TimeField::~TimeField()
long TimeField::PreNotify( NotifyEvent& rNEvt )
{
- if ( (rNEvt.GetType() == EVENT_KEYINPUT) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ if ( (rNEvt.GetType() == EVENT_KEYINPUT) )
{
if ( ImplTimeProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsDuration(), GetFormat(), ImplGetLocaleDataWrapper() ) )
return 1;
@@ -3392,8 +3387,7 @@ TimeBox::~TimeBox()
long TimeBox::PreNotify( NotifyEvent& rNEvt )
{
- if ( (rNEvt.GetType() == EVENT_KEYINPUT) &&
- !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() )
+ if ( (rNEvt.GetType() == EVENT_KEYINPUT) )
{
if ( ImplTimeProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsDuration(), GetFormat(), ImplGetLocaleDataWrapper() ) )
return 1;