diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-13 14:24:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-13 14:24:36 +0100 |
commit | a675873cb2bad78a5da3e3b089bebf01ca60f898 (patch) | |
tree | c599d0e82e5de30cee3b3eceaed3e945ca9809ec | |
parent | c6d5433c673f592c3fda4270df66fff6c667d021 (diff) |
fdo#73436 Let SdXImpressDocument handle css.drawing.* requests directly
...instead of handing off to base class, so that potential wrapping in SdXShape
(in create) is not skipped.
Change-Id: I57fb10ef478688a5a0c1c3c736efbd55a7172423
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index e15ef7f7a344..a9f7ab4415e8 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1088,7 +1088,9 @@ SdXImpressDocument::createInstanceWithArguments( throw (css::uno::Exception, css::uno::RuntimeException) { OUString arg; - if (ServiceSpecifier == "com.sun.star.presentation.MediaShape" + if ((ServiceSpecifier == "com.sun.star.drawing.GraphicObjectShape" + || ServiceSpecifier == "com.sun.star.drawing.MediaShape" + || ServiceSpecifier == "com.sun.star.presentation.MediaShape") && Arguments.getLength() == 1 && (Arguments[0] >>= arg)) { return create(ServiceSpecifier, arg); |