From 380b322b986720f155edac62b70b0d7aa40c16b7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 25 Nov 2019 12:25:12 +0000 Subject: tdf#126043 module identifier already known MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I710180ed125bbea250694cfb5f7d12cb1b07f782 Reviewed-on: https://gerrit.libreoffice.org/83675 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- cui/source/customize/SvxMenuConfigPage.cxx | 3 +-- cui/source/customize/SvxToolbarConfigPage.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/SvxMenuConfigPage.cxx b/cui/source/customize/SvxMenuConfigPage.cxx index 2b6ef9e52469..218d087349ad 100644 --- a/cui/source/customize/SvxMenuConfigPage.cxx +++ b/cui/source/customize/SvxMenuConfigPage.cxx @@ -152,8 +152,7 @@ void SvxMenuConfigPage::Init() m_xCommandCategoryListBox->Init( comphelper::getProcessComponentContext(), - m_xFrame, - vcl::CommandInfoProvider::GetModuleIdentifier(m_xFrame)); + m_xFrame, m_aModuleId); m_xCommandCategoryListBox->categorySelected(m_xFunctions.get(), OUString(), GetSaveInData()); } diff --git a/cui/source/customize/SvxToolbarConfigPage.cxx b/cui/source/customize/SvxToolbarConfigPage.cxx index aee4abf651a6..b8058df387f5 100644 --- a/cui/source/customize/SvxToolbarConfigPage.cxx +++ b/cui/source/customize/SvxToolbarConfigPage.cxx @@ -290,8 +290,7 @@ void SvxToolbarConfigPage::Init() m_xCommandCategoryListBox->Init( comphelper::getProcessComponentContext(), - m_xFrame, - vcl::CommandInfoProvider::GetModuleIdentifier(m_xFrame)); + m_xFrame, m_aModuleId); m_xCommandCategoryListBox->categorySelected(m_xFunctions.get(), OUString(), GetSaveInData()); } -- cgit