Kaydet (Commit) 1b02831d authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: Logical disjunction always evaluates to true

Change-Id: I527c010a49210ccaa4840ea142525643944b642d
üst 76c0d0ab
...@@ -1234,13 +1234,10 @@ void impCreateScrollTiming(const SfxItemSet& rSet, drawinglayer::animation::Anim ...@@ -1234,13 +1234,10 @@ void impCreateScrollTiming(const SfxItemSet& rSet, drawinglayer::animation::Anim
} }
// loop. In loop, move through // loop. In loop, move through
if(nRepeat || 0L == nRepeat) drawinglayer::animation::AnimationEntryLoop aLoop(nRepeat ? nRepeat : ENDLESS_LOOP);
{ drawinglayer::animation::AnimationEntryLinear aThrough(fTimeFullPath, fFrequency, bForward ? 0.0 : 1.0, bForward ? 1.0 : 0.0);
drawinglayer::animation::AnimationEntryLoop aLoop(nRepeat ? nRepeat : ENDLESS_LOOP); aLoop.append(aThrough);
drawinglayer::animation::AnimationEntryLinear aThrough(fTimeFullPath, fFrequency, bForward ? 0.0 : 1.0, bForward ? 1.0 : 0.0); rAnimList.append(aLoop);
aLoop.append(aThrough);
rAnimList.append(aLoop);
}
if(0L != nRepeat && bVisisbleWhenStopped) if(0L != nRepeat && bVisisbleWhenStopped)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment