summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-25 12:25:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-26 14:27:39 +0100
commit380b322b986720f155edac62b70b0d7aa40c16b7 (patch)
treec9deff1c9168ef21e81ea5fedd81dcbbedc96e44
parentf54a8c6aafac53902b144f5125665644e9a50497 (diff)
tdf#126043 module identifier already known
Change-Id: I710180ed125bbea250694cfb5f7d12cb1b07f782 Reviewed-on: https://gerrit.libreoffice.org/83675 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--cui/source/customize/SvxMenuConfigPage.cxx3
-rw-r--r--cui/source/customize/SvxToolbarConfigPage.cxx3
2 files changed, 2 insertions, 4 deletions
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());
}