From 86adb5cacb4fe3e7fb869299447da5876f0da30d Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 1 Dec 2011 21:03:42 +0100 Subject: get rid of class Date and Time default ctor with system time penalty --- sd/source/ui/app/sdpopup.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/ui/app/sdpopup.cxx') diff --git a/sd/source/ui/app/sdpopup.cxx b/sd/source/ui/app/sdpopup.cxx index bfb350faed4e..65631d59ff61 100644 --- a/sd/source/ui/app/sdpopup.cxx +++ b/sd/source/ui/app/sdpopup.cxx @@ -223,7 +223,7 @@ SvxFieldData* SdFieldPopup::GetField() if( (pDateField->GetType() == SVXDATETYPE_VAR) && (eType == SVXDATETYPE_FIX) ) { - Date aDate; + Date aDate( Date::SYSTEM ); ( (SvxDateField*) pNewField )->SetFixDate( aDate ); } } @@ -256,7 +256,7 @@ SvxFieldData* SdFieldPopup::GetField() if( (pTimeField->GetType() == SVXTIMETYPE_VAR) && (eType == SVXTIMETYPE_FIX) ) { - Time aTime; + Time aTime( Time::SYSTEM ); ( (SvxExtTimeField*) pNewField )->SetFixTime( aTime ); } -- cgit