sd/source/ui/unoidl/unomodel.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 509c22c658adcb84fa1b322456651bf09b621315 Author: Caolán McNamara <[email protected]> AuthorDate: Sat Sep 14 21:07:33 2024 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Sep 20 21:03:57 2024 +0200 Resolves: tdf#162958 When using formula with Impress Style is lost regression since: commit 125cf1525361c6cd699574f60b4cf12868188568 CommitDate: Thu Sep 7 08:54:56 2023 +0200 add referer to ole objects where these service names changed there should be listed here too so they get the same post-create setup they do on the bare "no-argument" route. Change-Id: I21fb9a92f63cac46e4a0fd46f7c2b8d2956ec829 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173304 Tested-by: Jenkins Reviewed-by: Xisco Fauli <[email protected]> diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index da1c4ca806e6..cd649274f022 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -1122,7 +1122,11 @@ SdXImpressDocument::createInstanceWithArguments( { OUString arg; if ((ServiceSpecifier == "com.sun.star.drawing.GraphicObjectShape" + || ServiceSpecifier == "com.sun.star.drawing.AppletShape" + || ServiceSpecifier == "com.sun.star.drawing.FrameShape" + || ServiceSpecifier == "com.sun.star.drawing.OLE2Shape" || ServiceSpecifier == "com.sun.star.drawing.MediaShape" + || ServiceSpecifier == "com.sun.star.drawing.PluginShape" || ServiceSpecifier == "com.sun.star.presentation.MediaShape") && Arguments.getLength() == 1 && (Arguments[0] >>= arg)) {
