From 54f606c666c6d9e642090074d9d2aa4b6a3bec22 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 28 Jan 2014 15:06:35 +0100 Subject: Introduce com.sun.star.ui.theUICategoryDescription singleton. Change-Id: I79a78f208b2aa5eaacbd2e349b2b5066afa1ad23 --- cui/inc/pch/precompiled_cui.hxx | 2 +- cui/source/customize/cfgutil.cxx | 4 ++-- cui/source/customize/selector.cxx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cui') diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx index 8489a4bc8873..264817dd14b1 100644 --- a/cui/inc/pch/precompiled_cui.hxx +++ b/cui/inc/pch/precompiled_cui.hxx @@ -211,7 +211,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index a221b8a94b55..f817ea7ef44b 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include "acccfg.hrc" #include "helpid.hrc" @@ -595,7 +595,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent m_xContext = xContext; m_sModuleLongName = sModuleLongName; - m_xGlobalCategoryInfo = css::ui::UICategoryDescription::create( m_xContext ); + m_xGlobalCategoryInfo = css::ui::theUICategoryDescription::get( m_xContext ); m_xModuleCategoryInfo = css::uno::Reference< css::container::XNameAccess >(m_xGlobalCategoryInfo->getByName(m_sModuleLongName), css::uno::UNO_QUERY_THROW); m_xUICmdDescription = css::frame::UICommandDescription::create( m_xContext ); diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index 82df036613ce..a33623a48538 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -54,7 +54,7 @@ #include #include #include -#include +#include using namespace ::com::sun::star; @@ -429,7 +429,7 @@ void SvxConfigGroupListBox::Init(bool bShowSlots, const Reference< frame::XFrame xNameAccess->getByName( aModuleId ) >>= m_xModuleCommands; Reference< container::XNameAccess > xAllCategories = - ui::UICategoryDescription::create( xContext ); + ui::theUICategoryDescription::get( xContext ); Reference< container::XNameAccess > xModuleCategories; if ( !aModuleId.isEmpty() ) -- cgit