[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Tue Apr 8 07:28:38 PDT 2014


 sd/source/ui/func/fuoaprms.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e5a9124e405aa461aa8a46b662a9d9d810f0d7f5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 8 15:23:40 2014 +0100

    coverity#735386 Copy-paste error
    
    this has got to be wrong, surely
    
    Change-Id: Id23419f022c5db7daf887c3d3fc6e33bab3e8e5f

diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx
index 251e94d..805baed 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -442,7 +442,7 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
 
         if (nSecondPlayFullSet == ATTR_SET)
             aSet.Put(SfxBoolItem(ATTR_ACTION_PLAYFULL, bSecondPlayFull));
-        else if (nPlayFullSet == ATTR_MIXED)
+        else if (nSecondPlayFullSet == ATTR_MIXED)
             aSet.InvalidateItem(ATTR_ACTION_PLAYFULL);
         else
             aSet.Put(SfxBoolItem(ATTR_ACTION_PLAYFULL, false));


More information about the Libreoffice-commits mailing list