summaryrefslogtreecommitdiff
path: root/forms/source/component/EditBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/EditBase.cxx')
-rw-r--r--forms/source/component/EditBase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/EditBase.cxx b/forms/source/component/EditBase.cxx
index faf27cf3f0f7..251c54b147c3 100644
--- a/forms/source/component/EditBase.cxx
+++ b/forms/source/component/EditBase.cxx
@@ -185,7 +185,7 @@ void OEditBaseModel::read(const Reference<XObjectInputStream>& _rxInStream)
}
else if ((nAnyMask & DEFAULT_TIME) == DEFAULT_TIME)
{
- m_aDefault <<= ::tools::Time(_rxInStream->readHyper()).GetUNOTime();
+ m_aDefault <<= ::tools::Time::fromEncodedTime(_rxInStream->readHyper()).GetUNOTime();
}
else if ((nAnyMask & DEFAULT_DATE) == DEFAULT_DATE)
{