From 9af9f99bc4aa9a469a4b0344201adecf7a01bdec Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 17 Jul 2007 13:45:22 +0000 Subject: INTEGRATION: CWS presfixes12 (1.7.12); FILE MERGED 2007/02/02 08:47:51 thb 1.7.12.1: #i37778# Moved all old-style casts to sal::static_int_cast --- slideshow/source/engine/activities/discreteactivitybase.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'slideshow/source/engine/activities') diff --git a/slideshow/source/engine/activities/discreteactivitybase.cxx b/slideshow/source/engine/activities/discreteactivitybase.cxx index 61fcbfaf1716..762a5bbd2df1 100644 --- a/slideshow/source/engine/activities/discreteactivitybase.cxx +++ b/slideshow/source/engine/activities/discreteactivitybase.cxx @@ -4,9 +4,9 @@ * * $RCSfile: discreteactivitybase.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: kz $ $Date: 2006-12-13 15:26:44 $ + * last change: $Author: obo $ $Date: 2007-07-17 14:45:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -141,7 +141,7 @@ namespace slideshow ++mnCurrPerformCalls; // calc currently reached repeat count - double nCurrRepeat( (double)mnCurrPerformCalls / nVectorSize ); + double nCurrRepeat( double(mnCurrPerformCalls) / nVectorSize ); // if auto-reverse is specified, halve the // effective repeat count, since we pass every -- cgit