diff options
author | Eike Rathke <erack@redhat.com> | 2011-11-30 13:15:34 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-11-30 13:15:54 +0100 |
commit | c593018f6f2deec8eb98880ac89f19b59a3aee1f (patch) | |
tree | 59aa870956538215fd2eb85b1c5fdaddfec0b3fe /vcl | |
parent | 2d9beb7854bdfa6e6140e78ab754414340725e38 (diff) |
no need to check for Gregorian cut-off date here
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/field2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 5fadf7ec49a6..8705c6e2815a 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -1309,7 +1309,7 @@ static sal_Bool ImplDateGetValue( const XubString& rStr, Date& rDate, ExtDateFie Date aNewDate( nDay, nMonth, nYear ); DateFormatter::ExpandCentury( aNewDate, utl::MiscCfg().GetYear2000() ); - if ( aNewDate.IsValidAndGregorian() ) + if ( aNewDate.IsValidDate() ) { rDate = aNewDate; return sal_True; |