summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms/SchemaRestrictionContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/xforms/SchemaRestrictionContext.cxx')
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx
index 34b64ae12fcb..ad3b9a4c228c 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -201,7 +201,7 @@ Any xforms_date( const OUString& rValue )
Any xforms_dateTime( const OUString& rValue )
{
util::DateTime aDateTime;
- bool const bSuccess = ::sax::Converter::convertDateTime(aDateTime, rValue);
+ bool const bSuccess = ::sax::Converter::parseDateTime(aDateTime, 0, rValue);
return bSuccess ? makeAny( aDateTime ) : Any();
}