diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-30 07:59:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-30 11:08:36 +0200 |
commit | cb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7 (patch) | |
tree | 2d819dbc32230f7af209b59a5c1f262f4964fa84 /cui/source/customize/cfgutil.cxx | |
parent | 3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I080668f86f0ab8b3bba857ee21411f907ae285c4
Diffstat (limited to 'cui/source/customize/cfgutil.cxx')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx index ff248dd03e71..30af1e3aaeed 100644 --- a/cui/source/customize/cfgutil.cxx +++ b/cui/source/customize/cfgutil.cxx @@ -552,7 +552,7 @@ void SfxConfigGroupListBox::Init(const css::uno::Reference< css::uno::XComponent m_sModuleLongName = sModuleLongName; 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_xModuleCategoryInfo.set(m_xGlobalCategoryInfo->getByName(m_sModuleLongName), css::uno::UNO_QUERY_THROW); m_xUICmdDescription = css::frame::theUICommandDescription::get( m_xContext ); InitModule(); |