diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-30 13:57:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-30 13:57:42 +0000 |
commit | 6894764a0fa2ca85e783d9aa9a6c03181ee48740 (patch) | |
tree | ebff9fa657a745e47c72c9f2d031d99693ee30c3 /slideshow | |
parent | 4bb19d3850bb56728b543e7c34b2f9829cd3ee28 (diff) |
cppcheck: unused variable
Notes
Notes:
split repo tag: impress_LIBREOFFICE_PRE_BOOTSTRAP_BUILD
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/drawinglayeranimation.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx index a4268599ba38..a7cb526834bf 100644 --- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx +++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx @@ -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) |