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 86a52ba9a09b..f3bb38fbc48d 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -193,7 +193,7 @@ Any xforms_date( const OUString& rValue )
Any xforms_dateTime( const OUString& rValue )
{
util::DateTime aDateTime;
- bool const bSuccess = ::sax::Converter::parseDateTime(aDateTime, nullptr, rValue);
+ bool const bSuccess = ::sax::Converter::parseDateTime(aDateTime, rValue);
return bSuccess ? makeAny( aDateTime ) : Any();
}