diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-01-04 17:41:07 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-01-05 09:59:12 +0100 |
commit | 64d80d22851a38eb3f320f4e2b2bdf875da4d8b4 (patch) | |
tree | b6c649594734d8ad91c3f79062220e1896ab807a /sd | |
parent | 1b4746f58c553775f4bba25f439102d30decdf2c (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
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 d305a293c5a1..e4ac5f6d31b6 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -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; |