summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/svhtml/parhtml.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index d4da3e7a0fa2..f7daee079cb1 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1969,7 +1969,7 @@ bool HTMLParser::ParseMetaOptionsImpl(
bool valid = false;
if (comphelper::string::getTokenCount(aContent, ';') == 2)
{
- Date aDate((sal_uLong)aContent.getToken(0, ';').toInt32());
+ Date aDate(aContent.getToken(0, ';').toInt32());
tools::Time aTime(aContent.getToken(1, ';').toInt64());
DateTime aDateTime(aDate, aTime);
uDT = aDateTime.GetUNODateTime();