[Libreoffice-commits] core.git: svtools/source

Eike Rathke erack at redhat.com
Wed May 10 20:11:49 UTC 2017


 svtools/source/svhtml/parhtml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ba23eb0a1b3269b0ee6a4e50833000b20e65342
Author: Eike Rathke <erack at redhat.com>
Date:   Wed May 10 22:10:03 2017 +0200

    Fix Windows build: uLong is not Int64
    
    Change-Id: I3e1ce3216dd634deba1f619789a1af1d08f394a5

diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 5ad3a2d3b836..e1189e451af5 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1970,7 +1970,7 @@ bool HTMLParser::ParseMetaOptionsImpl(
                 if (comphelper::string::getTokenCount(aContent, ';') == 2)
                 {
                     Date aDate((sal_uLong)aContent.getToken(0, ';').toInt32());
-                    tools::Time aTime((sal_uLong)aContent.getToken(1, ';').toInt64());
+                    tools::Time aTime(aContent.getToken(1, ';').toInt64());
                     DateTime aDateTime(aDate, aTime);
                     uDT = aDateTime.GetUNODateTime();
                     valid = true;


More information about the Libreoffice-commits mailing list