diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2018-02-12 12:42:45 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-03-25 18:32:31 +0200 |
commit | 4f2abe9f54d33c4e8bebb3358f8db3d1897893b2 (patch) | |
tree | 24f126dbc8d5870905c01b1c69d50e0268c8b9ae /sd/source/filter | |
parent | e31511f7f9c6e6282784435f02ff0ad1515ec790 (diff) |
Coverity: unused value
Change-Id: I4b166b3e15a457fe93128ee9efa55fdd6dca6178
Reviewed-on: https://gerrit.libreoffice.org/49592
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit ac97ca547de9593ff5f8e7615f1aa779a5091126)
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 1ab1a7dc68ff..91f11ac4d2d0 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"; |