cppcheck: unused variable

This commit is contained in:
Caolán McNamara 2010-11-30 13:57:42 +00:00
parent 4bb19d3850
commit 6894764a0f

View file

@ -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)