| commit | 8ee43bb5a75b3ae4488d3373511eaf001674fc71 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Jun 10 15:53:56 2020 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Thu Jun 11 10:02:18 2020 +0200 |
| tree | d95ae09b40eece4f25a8f45e78edeec7ebe5ce9d | |
| parent | 63a43218c369a43624e6bdbe880b7caa40a3b61a [diff] |
Resolves: tdf#133862 crash in customize toolbar in embedded math Change-Id: I2fc7f3620145e48516c3ca73c0a5d08dce11d78a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96054 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/cui/source/customize/SvxNotebookbarConfigPage.cxx b/cui/source/customize/SvxNotebookbarConfigPage.cxx index 7354f1c..aa4101e 100644 --- a/cui/source/customize/SvxNotebookbarConfigPage.cxx +++ b/cui/source/customize/SvxNotebookbarConfigPage.cxx
@@ -398,6 +398,8 @@ void SvxNotebookbarConfigPage::SelectElement() OString sUIFileUIPath = CustomNotebookbarGenerator::getSystemPath( CustomNotebookbarGenerator::getCustomizedUIPath()); xmlDocPtr pDoc = xmlParseFile(sUIFileUIPath.getStr()); if (!pDoc) return; xmlNodePtr pNodePtr = xmlDocGetRootElement(pDoc); std::vector<NotebookbarEntries> aEntries; @@ -459,10 +461,7 @@ void SvxNotebookbarConfigPage::SelectElement() aEntries.clear(); if (pDoc != nullptr) { xmlFreeDoc(pDoc); } xmlFreeDoc(pDoc); } SvxNotebookbarEntriesListBox::SvxNotebookbarEntriesListBox(std::unique_ptr<weld::TreeView> xParent,