<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Charts disappear when saving docx as odt"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130681#c15">Comment # 15</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Charts disappear when saving docx as odt"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130681">bug 130681</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>