diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-25 10:20:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-28 09:54:43 +0100 |
commit | a655117db4b25f8b06a947295058e7257e3b45dd (patch) | |
tree | d9ae36955454a73d71b4894099d42a243fa8d41f /cui/source/inc | |
parent | f8719f68f8c073c0ad473507b16fc4bd99e79baa (diff) |
tdf#126043 load the xml just once
Change-Id: I98cfeeeddf2fb2d86259a11368bf3db752f5e556
Reviewed-on: https://gerrit.libreoffice.org/83656
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
(cherry picked from commit 7c949066e6aae6ffe3b88d6500e70cdb7cc03b69)
Reviewed-on: https://gerrit.libreoffice.org/83902
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/SvxNotebookbarConfigPage.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/inc/SvxNotebookbarConfigPage.hxx b/cui/source/inc/SvxNotebookbarConfigPage.hxx index 7793d6e6415b..3c657db3ca84 100644 --- a/cui/source/inc/SvxNotebookbarConfigPage.hxx +++ b/cui/source/inc/SvxNotebookbarConfigPage.hxx @@ -60,7 +60,8 @@ public: SaveInData* CreateSaveInData(const css::uno::Reference<css::ui::XUIConfigurationManager>&, const css::uno::Reference<css::ui::XUIConfigurationManager>&, const OUString& aModuleId, bool docConfig) override; - static void FillFunctionsList(std::vector<NotebookbarEntries>& aEntries, + static void FillFunctionsList(xmlNodePtr pRootNodePtr, + std::vector<NotebookbarEntries>& aEntries, std::vector<CategoriesEntries>& aCategoryList, OUString& sActiveCategory); static void searchNodeandAttribute(std::vector<NotebookbarEntries>& aEntries, |