cppcheck: unused variable
This commit is contained in:
parent
4bb19d3850
commit
6894764a0f
1 changed files with 1 additions and 3 deletions
|
@ -376,7 +376,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes()
|
|||
sal_uInt32 nLoopTime;
|
||||
double fZeroLogic, fOneLogic, fInitLogic, fDistanceLogic;
|
||||
double fZeroLogicAlternate = 0.0, fOneLogicAlternate = 0.0;
|
||||
double fZeroRelative, fOneRelative, fInitRelative,fDistanceRelative;
|
||||
double fZeroRelative, fOneRelative, fInitRelative;
|
||||
|
||||
if(ScrollHorizontal())
|
||||
{
|
||||
|
@ -429,13 +429,11 @@ void ActivityImpl::ImpForceScrollTextAnimNodes()
|
|||
(fZeroLogicAlternate - fZeroLogic) / fDistanceLogic;
|
||||
fOneRelative =
|
||||
(fOneLogicAlternate - fZeroLogic) / fDistanceLogic;
|
||||
fDistanceRelative = fOneRelative - fZeroRelative;
|
||||
}
|
||||
else
|
||||
{
|
||||
fZeroRelative = 0.0;
|
||||
fOneRelative = 1.0;
|
||||
fDistanceRelative = 1.0;
|
||||
}
|
||||
|
||||
if(mnStartTime)
|
||||
|
|
Loading…
Reference in a new issue