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

Szymon Kłos szymon.klos at collabora.com
Mon Feb 12 17:16:17 UTC 2018


 sd/source/filter/eppt/pptx-epptooxml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ac97ca547de9593ff5f8e7615f1aa779a5091126
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Mon Feb 12 12:42:45 2018 +0100

    Coverity: unused value
    
    Change-Id: I4b166b3e15a457fe93128ee9efa55fdd6dca6178
    Reviewed-on: https://gerrit.libreoffice.org/49592
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 6bc8bd0416e5..ca5f9ef56c67 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -705,7 +705,6 @@ void PowerPointExport::WriteTransition(const FSHelperPtr& pFS)
 
     if (GETA(Change))
         mAny >>= changeType;
-    bool isAdvanceTimingSet = advanceTiming != -1;
 
     // 1 means automatic, 2 half automatic - not sure what it means - at least I don't see it in UI
     if (changeType == 1 && GETA(Duration))
@@ -804,6 +803,7 @@ void PowerPointExport::WriteTransition(const FSHelperPtr& pFS)
         }
     }
 
+    bool isAdvanceTimingSet = advanceTiming != -1;
     if (nTransition14 || pPresetTransition || isTransitionDurationSet)
     {
         const char* pRequiresNS = (nTransition14 || isTransitionDurationSet) ? "p14" : "p15";


More information about the Libreoffice-commits mailing list