[Libreoffice-commits] core.git: vcl/source
Tobias Madl
tobias.madl.dev at gmail.com
Tue Mar 10 01:13:42 PDT 2015
vcl/source/app/scheduler.cxx | 2 +-
vcl/source/app/timer.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 0a5c1be22a88094018e2741b38d743800018ca5e
Author: Tobias Madl <tobias.madl.dev at gmail.com>
Date: Tue Mar 10 08:08:21 2015 +0000
Scheduler: replaced max cast with SAL_MAX_UINT64
Change-Id: I9e8d5863c31187b373ff93d5a6e992a1281220b4
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index 56eaf12..8162332 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -23,7 +23,7 @@
#include <vcl/timer.hxx>
#include <saltimer.hxx>
-#define MAX_TIMER_PERIOD ((sal_uInt64)0xFFFFFFFF)
+#define MAX_TIMER_PERIOD SAL_MAX_UINT64
void ImplSchedulerData::Invoke()
{
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index 7e631d1..6c1724e 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -23,7 +23,7 @@
#include <svdata.hxx>
#include <salinst.hxx>
-#define MAX_TIMER_PERIOD ((sal_uInt64)0xFFFFFFFF)
+#define MAX_TIMER_PERIOD SAL_MAX_UINT64
void Timer::ImplStartTimer( ImplSVData* pSVData, sal_uInt64 nMS )
{
More information about the Libreoffice-commits
mailing list