Change-Id: I7d34e0a02c8ee102746a0da853cc665287deef54
Reviewed-on: https://gerrit.libreoffice.org/84490
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2019-12-04 20:22:34 +01:00 committed by Julien Nabet
parent bb8e276c3a
commit 7d97bdba4b

View File

@ -146,7 +146,7 @@ namespace slideshow
{
// until one half of the total frames are over, take from value.
// after that, take to value.
// For nFrames not divisable by 2, we prefer to over from, which
// For nFrames not divisible by 2, we prefer to over from, which
// also neatly yields to for 1 frame activities
return nFrame < nTotalFrames/2 ? rFrom : rTo;
}
@ -160,7 +160,7 @@ namespace slideshow
{
// until one half of the total frames are over, take from value.
// after that, take to value.
// For nFrames not divisable by 2, we prefer to over from, which
// For nFrames not divisible by 2, we prefer to over from, which
// also neatly yields to for 1 frame activities
return nFrame < nTotalFrames/2 ? rFrom : rTo;
}
@ -174,7 +174,7 @@ namespace slideshow
{
// until one half of the total frames are over, take from value.
// after that, take to value.
// For nFrames not divisable by 2, we prefer to over from, which
// For nFrames not divisible by 2, we prefer to over from, which
// also neatly yields to for 1 frame activities
return nFrame < nTotalFrames/2 ? bFrom : bTo;
}