diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-01-04 17:41:07 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-03-14 10:06:57 +0100 |
commit | 35941f2d670a6b197980f226343419cdd729560d (patch) | |
tree | 4e839fcd45bb4d0c32e0254ea6a5318d3733bd47 /sd | |
parent | 62ae0997ac331dea2cc7837ca2320cf49d3eb6b3 (diff) |
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)
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |