Kaydet (Commit) 83b07265 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin two unused fields

Change-Id: If06753320d34e0e677c9456ddb47bfd3636e8a66
üst 3131205c
......@@ -307,7 +307,6 @@ private:
Date maLastDate;
Date maMin;
Date maMax;
Date maCorrectedDate;
bool mbLongFormat;
bool mbShowDateCentury;
sal_uInt16 mnDateFormat;
......@@ -400,7 +399,6 @@ private:
tools::Time maLastTime;
tools::Time maMin;
tools::Time maMax;
tools::Time maCorrectedTime;
TimeFieldFormat meFormat;
sal_uInt16 mnTimeFormat;
bool mbDuration;
......
......@@ -1117,14 +1117,8 @@ bool DateFormatter::ImplDateReformat( const OUString& rStr, OUString& rOutStr, c
if ( GetErrorHdl().IsSet() && (aDate != aTempDate) )
{
maCorrectedDate = aTempDate;
if( !GetErrorHdl().Call( this ) )
{
maCorrectedDate = Date( Date::SYSTEM );
return false;
}
else
maCorrectedDate = Date( Date::SYSTEM );
}
rOutStr = ImplGetDateAsText( aTempDate, rSettings );
......@@ -1418,7 +1412,6 @@ DateFormatter::DateFormatter() :
maLastDate( 0 ),
maMin( 1, 1, 1900 ),
maMax( 31, 12, 2200 ),
maCorrectedDate( Date::SYSTEM ),
mbEnforceValidValue( true )
{
ImplInit();
......@@ -2169,14 +2162,8 @@ bool TimeFormatter::ImplTimeReformat( const OUString& rStr, OUString& rOutStr )
if ( GetErrorHdl().IsSet() && (aTime != aTempTime) )
{
maCorrectedTime = aTempTime;
if ( !GetErrorHdl().Call( this ) )
{
maCorrectedTime = tools::Time( tools::Time::SYSTEM );
return false;
}
else
maCorrectedTime = tools::Time( tools::Time::SYSTEM );
}
bool bSecond = false;
......@@ -2311,7 +2298,6 @@ TimeFormatter::TimeFormatter() :
maLastTime( 0, 0 ),
maMin( 0, 0 ),
maMax( 23, 59, 59, 999999999 ),
maCorrectedTime( tools::Time::SYSTEM ),
mbEnforceValidValue( true ),
maFieldTime( 0, 0 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment