summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-05-23 00:02:09 +0200
committerAndras Timar <andras.timar@collabora.com>2017-05-23 00:02:09 +0200
commitefdefc4571a781857cc26f651159e1d9d3d4ff43 (patch)
tree5d9a31efc1ba4d5d6dd5d88b37430be37f0a7d9c /svtools
parent6c4de48d4fea09c0c61fe6f8fa853313dfeeb3d3 (diff)
no need to cast to sal_uLong (in fact it is wrong)
Change-Id: I67063fe69aa7980f75fa8666916a695085a77a58
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index becae25e904b..9ec51dfce12e 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -2001,8 +2001,8 @@ bool HTMLParser::ParseMetaOptionsImpl(
bool valid = false;
if (comphelper::string::getTokenCount(aContent, ';') == 2)
{
- Date aDate((sal_uLong)aContent.getToken(0, ';').toInt32());
- tools::Time aTime((sal_uLong)aContent.getToken(1, ';').toInt64());
+ Date aDate(aContent.getToken(0, ';').toInt32());
+ tools::Time aTime(aContent.getToken(1, ';').toInt64());
DateTime aDateTime(aDate, aTime);
uDT = aDateTime.GetUNODateTime();
valid = true;