summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdpopup.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-12-01 21:03:42 +0100
committerEike Rathke <erack@redhat.com>2011-12-01 21:04:29 +0100
commit86adb5cacb4fe3e7fb869299447da5876f0da30d (patch)
treef7998dd1a12a82ca53a4fa155cdf5536ac25ef62 /sd/source/ui/app/sdpopup.cxx
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'sd/source/ui/app/sdpopup.cxx')
-rw-r--r--sd/source/ui/app/sdpopup.cxx4
1 files changed, 2 insertions, 2 deletions
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 );
}