diff options
author | Eike Rathke <erack@redhat.com> | 2017-05-11 14:24:51 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-05-11 14:25:50 +0200 |
commit | 9b3585e3133a88b5b5c2231806a78116f1e52879 (patch) | |
tree | 6f02af54808cdd8a20f829580529097b2a8145d7 /svtools | |
parent | 7ae4680c1ffaf1f67c4865270a21451c9e970510 (diff) |
Casting from Int32 to uLong to Int32 doesn't make sense.
Change-Id: I573c8c82998935e4853a3ee3f635845d450e32fe
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/svhtml/parhtml.cxx | 2 |
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(); |