Kaydet (Commit) 64a252ff authored tarafından Caolán McNamara's avatar Caolán McNamara

don't crash on loading abi13730-1.wpd

Change-Id: I3796f16c4df8cc055fb1a75b1583c5b959f02799
üst cc127354
......@@ -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