summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx4
-rw-r--r--sd/source/ui/slideshow/showwin.cxx6
-rw-r--r--sd/source/ui/slideshow/showwindow.hxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 2881e392c239..1eaf723dd3bd 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -624,8 +624,8 @@ void AnimationWindow::ResetAttrs()
void AnimationWindow::WaitInEffect( sal_uLong nMilliSeconds, sal_uLong nTime,
SfxProgress* pProgress ) const
{
- clock_t aEnd = tools::Time::GetSystemTicks() + nMilliSeconds;
- clock_t aCurrent = tools::Time::GetSystemTicks();
+ sal_uInt64 aEnd = tools::Time::GetSystemTicks() + nMilliSeconds;
+ sal_uInt64 aCurrent = tools::Time::GetSystemTicks();
while (aCurrent < aEnd)
{
aCurrent = tools::Time::GetSystemTicks();
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index db00687631e4..712a73c5d3f7 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -38,8 +38,8 @@ using namespace ::com::sun::star;
namespace sd {
-static const sal_uLong HIDE_MOUSE_TIMEOUT = 10000;
-static const sal_uLong SHOW_MOUSE_TIMEOUT = 1000;
+static const sal_uInt64 HIDE_MOUSE_TIMEOUT = 10000;
+static const sal_uInt64 SHOW_MOUSE_TIMEOUT = 1000;
ShowWindow::ShowWindow( const ::rtl::Reference< SlideshowImpl >& xController, vcl::Window* pParent )
: ::sd::Window( pParent )
@@ -187,7 +187,7 @@ void ShowWindow::MouseMove(const MouseEvent& /*rMEvt*/)
{
// if this is not the first mouse move while hidden, see if
// enough time has pasted to show mouse pointer again
- sal_uLong nTime = ::tools::Time::GetSystemTicks();
+ sal_uInt64 nTime = ::tools::Time::GetSystemTicks();
if( (nTime - mnFirstMouseMove) >= SHOW_MOUSE_TIMEOUT )
{
ShowPointer( true );
diff --git a/sd/source/ui/slideshow/showwindow.hxx b/sd/source/ui/slideshow/showwindow.hxx
index b55876a0fc36..894938f86043 100644
--- a/sd/source/ui/slideshow/showwindow.hxx
+++ b/sd/source/ui/slideshow/showwindow.hxx
@@ -104,7 +104,7 @@ private:
Rectangle maPresArea;
bool mbMouseAutoHide;
bool mbMouseCursorHidden;
- sal_uLong mnFirstMouseMove;
+ sal_uInt64 mnFirstMouseMove;
DECL_LINK( PauseTimeoutHdl, Timer* pTimer );
DECL_LINK(MouseTimeoutHdl, void *);