https://bugs.documentfoundation.org/show_bug.cgi?id=130681

--- Comment #15 from Julien Nabet <[email protected]> ---
With this change:
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index fe137647b01b..7f7f77f477b3 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -1136,6 +1136,7 @@ void SdrOle2Obj::Disconnect_Impl()
             {
                 if ( getSdrModelFromSdrObject().getUnoModel().is() )
                 {
+/*
                     // remove object, but don't close it (that's up to someone
else)
                     comphelper::EmbeddedObjectContainer* pContainer =
mpImpl->mxObjRef.GetContainer();
                     if ( pContainer )
@@ -1147,6 +1148,7 @@ void SdrOle2Obj::Disconnect_Impl()
                         // since no container is adjusted, actually the empty
string could be provided as a name here
                         mpImpl->mxObjRef.AssignToContainer( nullptr,
mpImpl->aPersistName );
                     }
+*/

                     DisconnectFileLink_Impl();
                 }

when converting to odt and reopening odt, everything is fine.
Of course, it's just a test, this patch must be wrong, it just shows there's
something indeed broken in object naming.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to