From 6a1c29d7efd505346d4b43ee2b7080e8d769301e Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 5 Sep 2012 22:46:40 +0200 Subject: offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription: The service implementation used "com.sun.star.frame.UICommandDescription" since forever, so the IDL file was essentially wrong documentation. But since 7a464263cc5c2ca2b7128734ff4860e02d662818 converted the service to new-style, it cannot be instantated any more and e.g. clicking on Tools->Customize crashes. (Adapting the implementation instead would be an incompatible change.) Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5 --- cui/source/customize/acccfg.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cui/source/customize/acccfg.cxx') diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 957eb381670f..8ed9d6c09381 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -56,7 +56,7 @@ #include #include #include -#include +#include #include #include #include @@ -852,7 +852,8 @@ void SfxAcceleratorConfigPage::InitAccCfg() // no - initialize this instance m_xSMGR = ::comphelper::getProcessServiceFactory(); - m_xUICmdDescription = css::ui::UICommandDescription::create(comphelper::ComponentContext(m_xSMGR).getUNOContext()); + m_xUICmdDescription = css::frame::UICommandDescription::create( + comphelper::ComponentContext(m_xSMGR).getUNOContext()); // get the current active frame, which should be our "parent" // for this session -- cgit v1.2.3