diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-18 14:30:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-18 19:48:16 +0200 |
commit | 289abd076af14eeb4504cd4e33b49ef95009dd93 (patch) | |
tree | fe02af6054c89d205cb01f04984d5a0196d603e6 /sd | |
parent | 70ed8c321e0f8a6058d92876de2eb49f8f0ebbb8 (diff) |
coverity#1438403 Unchecked return value
Change-Id: I7debe5eb1c366264cb94a52f63677f392cda647e
Reviewed-on: https://gerrit.libreoffice.org/59291
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 69624d1c0752..d5b654e72b39 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1172,8 +1172,8 @@ void PowerPointExport::WriteAnimationNodeAnimate(const FSHelperPtr& pFS, const R { xMotion->getPath() >>= aPath; ::basegfx::B2DPolyPolygon aPolyPoly; - ::basegfx::utils::importFromSvgD(aPolyPoly, aPath, true, nullptr); - aPath = ::basegfx::utils::exportToSvgD(aPolyPoly, false, false, true, true); + if (::basegfx::utils::importFromSvgD(aPolyPoly, aPath, true, nullptr)) + aPath = ::basegfx::utils::exportToSvgD(aPolyPoly, false, false, true, true); } pFS->startElementNS(XML_p, nXmlNodeType, |