diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 15:21:03 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-01-14 15:21:03 +0000 |
commit | bc89ebbc9b3f00d7806947dbe3e9beb539f69c9f (patch) | |
tree | 345da6733008c55f4ad41c9d838ad2e1b8e47954 /vcl/source | |
parent | edb3149f1f1170f3f3017e363846308ad753a22a (diff) |
INTEGRATION: CWS aquavcl04 (1.22.76); FILE MERGED
2007/10/19 14:42:29 pl 1.22.76.1: #i79131# no more KEY_CONTROLMOD
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/field.cxx | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index fd8cd3eb3a35..9f454023f07a 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -4,9 +4,9 @@ * * $RCSfile: field.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: rt $ $Date: 2007-07-24 10:06:28 $ + * last change: $Author: ihi $ $Date: 2008-01-14 16:21:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -839,8 +839,7 @@ NumericField::~NumericField() long NumericField::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplNumericProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; @@ -959,8 +958,7 @@ NumericBox::~NumericBox() long NumericBox::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplNumericProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; @@ -1777,8 +1775,7 @@ sal_Int64 MetricField::GetLast( FieldUnit eOutUnit ) const long MetricField::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplMetricProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; @@ -1904,8 +1901,7 @@ MetricBox::~MetricBox() long MetricBox::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplMetricProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; @@ -2246,8 +2242,7 @@ CurrencyField::~CurrencyField() long CurrencyField::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplCurrencyProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; @@ -2366,8 +2361,7 @@ CurrencyBox::~CurrencyBox() long CurrencyBox::PreNotify( NotifyEvent& rNEvt ) { - if ( (rNEvt.GetType() == EVENT_KEYINPUT) && - !rNEvt.GetKeyEvent()->GetKeyCode().IsControlMod() ) + if ( (rNEvt.GetType() == EVENT_KEYINPUT) ) { if ( ImplCurrencyProcessKeyInput( GetField(), *rNEvt.GetKeyEvent(), IsStrictFormat(), IsUseThousandSep(), ImplGetLocaleDataWrapper() ) ) return 1; |