Kaydet (Commit) 740748d4 authored tarafından Gülşah Köse's avatar Gülşah Köse Kaydeden (comit) Andras Timar

tdf#115549 Check xPropset is exist.

Checks xPropset is exist for chart handling on LibreOffice Online.

Change-Id: I57947fd23e089ace4df011873613c2f886770b30
Reviewed-on: https://gerrit.libreoffice.org/68493Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 5af5b23c
......@@ -2025,6 +2025,8 @@ bool SVGFilter::implCreateObjects()
// - tiled bitmap: an image element is exported for each tile,
// this is really too expensive!
Reference< XPropertySet > xPropSet( xDrawPage, UNO_QUERY );
if( xPropSet.is() )
{
Reference< XPropertySet > xBackground;
xPropSet->getPropertyValue( "Background" ) >>= xBackground;
if( xBackground.is() )
......@@ -2037,6 +2039,7 @@ bool SVGFilter::implCreateObjects()
implCreateObjectsFromBackground( xDrawPage );
}
}
}
implCreateObjectsFromShapes( xDrawPage, xDrawPage );
}
}
......
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