From ba8413d2629352b1e5defaf154498856580e4651 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Tue, 28 Jan 2014 15:27:32 +0100 Subject: Introduce com.sun.star.frame.theUICommandDescription singleton. Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650 --- desktop/source/migration/migration.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source/migration') diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index ff516601e47f..c6e046670900 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include #include @@ -83,7 +83,7 @@ OUString retrieveLabelFromCommand(const OUString& sCommand, const OUString& sMod uno::Reference< container::XNameAccess > xUICommands; uno::Reference< container::XNameAccess > const xNameAccess( - frame::UICommandDescription::create( + frame::theUICommandDescription::get( ::comphelper::getProcessComponentContext()) ); xNameAccess->getByName( sModuleIdentifier ) >>= xUICommands; if (xUICommands.is()) -- cgit