<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - crash in customize menu add"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123036#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - crash in customize menu add"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=123036">bug 123036</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>This patch seems to fix this since I got no crash with it and dialog appears:
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 406f89d4f7ac..c8b2e76af427 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1934,7 +1934,7 @@ SvxMainMenuOrganizerDialog::SvxMainMenuOrganizerDialog(

         m_sNewMenuEntryId =
OUString::number(reinterpret_cast<sal_uInt64>(pNewEntryData));
         m_xMenuListBox->append(m_sNewMenuEntryId,
-                              
SvxConfigPageHelper::stripHotKey(pNewEntryData->GetName()), "");
+                              
SvxConfigPageHelper::stripHotKey(pNewEntryData->GetName()));
         m_xMenuListBox->select(m_xMenuListBox->n_children() - 1);

         if (mpEntries)</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>