Related: tdf#105093 sd PDF export: handle css.presentation.MediaShape as well

It's exactly the same as css.drawing.MediaShape in this context.

Change-Id: I4be114ef731e85222f0dd1d897f646ad8da3849d
This commit is contained in:
Miklos Vajna
2017-01-04 17:41:07 +01:00
parent 1b4746f58c
commit 64d80d2285

View File

@ -1653,7 +1653,7 @@ void ImplPDFExportShapeInteraction( const uno::Reference< drawing::XShape >& xSh
Rectangle aLinkRect( Point( aShapePos.X, aShapePos.Y ), Size( aShapeSize.Width, aShapeSize.Height ) );
// Handle linked videos.
if (xShape->getShapeType() == "com.sun.star.drawing.MediaShape")
if (xShape->getShapeType() == "com.sun.star.drawing.MediaShape" || xShape->getShapeType() == "com.sun.star.presentation.MediaShape")
{
OUString aMediaURL;
xShapePropSet->getPropertyValue("MediaURL") >>= aMediaURL;