[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sd/source
Stephan Bergmann
sbergman at redhat.com
Mon Jan 13 05:28:52 PST 2014
sd/source/ui/unoidl/unomodel.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit cf0834724fa54c3fd718029505cc2865a3dd0149
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 13 14:24:36 2014 +0100
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
(cherry picked from commit a675873cb2bad78a5da3e3b089bebf01ca60f898)
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 9d2a011..7b09869 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1096,7 +1096,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);
More information about the Libreoffice-commits
mailing list