From 35941f2d670a6b197980f226343419cdd729560d Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 4 Jan 2017 17:41:07 +0100 Subject: 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 (cherry picked from commit 64d80d22851a38eb3f320f4e2b2bdf875da4d8b4) --- sd/source/ui/unoidl/unomodel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index c71b4b77fe43..7791e4180123 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1669,7 +1669,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; -- cgit v1.2.3