Kaydet (Commit) 81d9f698 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) David Tardon

don't crash on loading abi13730-1.wpd

Change-Id: I3796f16c4df8cc055fb1a75b1583c5b959f02799
(cherry picked from commit 64a252ff)
Reviewed-on: https://gerrit.libreoffice.org/19243Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 3a3fb3c5
......@@ -84,6 +84,9 @@ static bool handleEmbeddedWPGImage(const librevenge::RVNGBinaryData &input, libr
if (!libwpg::WPGraphics::parse(input.getDataStream(), &aSVGGenerator, fileFormat))
return false;
if (svgOutput.empty())
return false;
assert(1 == svgOutput.size());
output.clear();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment