summaryrefslogtreecommitdiff
path: root/svl/source/items
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 /svl/source/items
parentb20ea84970fb8b3068880a361822941c47f50edd (diff)
get rid of class Date and Time default ctor with system time penalty
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/dateitem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/items/dateitem.cxx b/svl/source/items/dateitem.cxx
index 67ed22985c6b..e5329958f127 100644
--- a/svl/source/items/dateitem.cxx
+++ b/svl/source/items/dateitem.cxx
@@ -55,7 +55,8 @@ TYPEINIT1(SfxDateTimeItem, SfxPoolItem);
// -----------------------------------------------------------------------
SfxDateTimeItem::SfxDateTimeItem( sal_uInt16 which ) :
- SfxPoolItem( which )
+ SfxPoolItem( which ),
+ aDateTime( DateTime::SYSTEM )
{
DBG_CTOR(SfxDateTimeItem, 0);
}