summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-23 17:06:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-24 09:24:57 +0100
commit239a586fb7d971bb4a2330bf2d4dd997b8bd60ca (patch)
tree3624678254d1a0ccfa240e55f88ac994f0901ad1 /sd
parent2f989f1742c62e0cbb7275216b415ef4cad030c2 (diff)
coverity#735385 try and silence Copy-paste error
Change-Id: Ifc3c705db7f3d88f26753bd189db34ca8ef8160d
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 51fda0c8cb93..ae85a92b7ad4 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2070,10 +2070,10 @@ void CustomAnimationPane::moveSelection( bool bUp )
{
CustomAnimationEffectPtr pEffect = (*aIter++);
- EffectSequence::iterator aEffectPos( pSequence->find( pEffect ) );
- if( aEffectPos != rEffectSequence.end() )
+ EffectSequence::iterator aUpEffectPos( pSequence->find( pEffect ) );
+ if( aUpEffectPos != rEffectSequence.end() )
{
- EffectSequence::iterator aInsertPos( rEffectSequence.erase( aEffectPos ) );
+ EffectSequence::iterator aInsertPos( rEffectSequence.erase( aUpEffectPos ) );
if( aInsertPos != rEffectSequence.begin() )
{
@@ -2100,10 +2100,10 @@ void CustomAnimationPane::moveSelection( bool bUp )
{
CustomAnimationEffectPtr pEffect = (*aIter++);
- EffectSequence::iterator aEffectPos( pSequence->find( pEffect ) );
- if( aEffectPos != rEffectSequence.end() )
+ EffectSequence::iterator aDownEffectPos( pSequence->find( pEffect ) );
+ if( aDownEffectPos != rEffectSequence.end() )
{
- EffectSequence::iterator aInsertPos( rEffectSequence.erase( aEffectPos ) );
+ EffectSequence::iterator aInsertPos( rEffectSequence.erase( aDownEffectPos ) );
if( aInsertPos != rEffectSequence.end() )
{