[Libreoffice-bugs] [Bug 123036] crash in customize menu add

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 29 14:51:07 UTC 2019


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

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190129/f83e80f4/attachment.html>


More information about the Libreoffice-bugs mailing list