svtools/source/svhtml/parhtml.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit efdefc4571a781857cc26f651159e1d9d3d4ff43 Author: Andras Timar <[email protected]> Date: Tue May 23 00:02:09 2017 +0200 no need to cast to sal_uLong (in fact it is wrong) Change-Id: I67063fe69aa7980f75fa8666916a695085a77a58 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; _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
