summaryrefslogtreecommitdiffstats
path: root/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx')
-rw-r--r--binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
index 454657ae6..6f0ce7a16 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_propertyexport.cxx
@@ -607,7 +607,7 @@ namespace xmloff
::com::sun::star::util::DateTime aDateTime;
if (_rValue >>= aDate)
{
- Date aToolsDate;
+ Date aToolsDate( Date::EMPTY );
::utl::typeConvert(aDate, aToolsDate);
fValue = aToolsDate.GetDate();
}
@@ -618,7 +618,7 @@ namespace xmloff
}
else if (_rValue >>= aDateTime)
{
- DateTime aToolsDateTime;
+ DateTime aToolsDateTime( DateTime::EMPTY );
::utl::typeConvert(aDateTime, aToolsDateTime);
// the time part (the digits behind the comma)
fValue = ((aDateTime.Hours * 60 + aDateTime.Minutes) * 60 + aDateTime.Seconds) * 100 + aDateTime.HundredthSeconds;