diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-28 15:27:32 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-28 18:52:22 +0100 |
commit | ba8413d2629352b1e5defaf154498856580e4651 (patch) | |
tree | 1fe88fed9227b84da0d44ee840cdd56b3418fc56 /svtools | |
parent | b2c89e7236d71d92a96430db0a7eca14b41c227a (diff) |
Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/pch/precompiled_svt.hxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/contextmenuhelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/pch/precompiled_svt.hxx b/svtools/inc/pch/precompiled_svt.hxx index fd97b7b7e00c..cb98da32a284 100644 --- a/svtools/inc/pch/precompiled_svt.hxx +++ b/svtools/inc/pch/precompiled_svt.hxx @@ -142,7 +142,7 @@ #include <com/sun/star/frame/DocumentTemplates.hpp> #include <com/sun/star/frame/Frame.hpp> #include <com/sun/star/frame/ModuleManager.hpp> -#include <com/sun/star/frame/UICommandDescription.hpp> +#include <com/sun/star/frame/theUICommandDescription.hpp> #include <com/sun/star/frame/XComponentLoader.hpp> #include <com/sun/star/frame/XController.hpp> #include <com/sun/star/frame/XDispatch.hpp> diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx index 7c8abc635301..613266580668 100644 --- a/svtools/source/uno/contextmenuhelper.cxx +++ b/svtools/source/uno/contextmenuhelper.cxx @@ -31,7 +31,7 @@ #include <com/sun/star/ui/XUIConfigurationManager.hpp> #include <com/sun/star/ui/ModuleUIConfigurationManagerSupplier.hpp> #include <com/sun/star/ui/ImageType.hpp> -#include <com/sun/star/frame/UICommandDescription.hpp> +#include <com/sun/star/frame/theUICommandDescription.hpp> #include <com/sun/star/util/URLTransformer.hpp> #include <com/sun/star/beans/PropertyValue.hpp> @@ -428,7 +428,7 @@ ContextMenuHelper::associateUIConfigurationManagers() } uno::Reference< container::XNameAccess > xNameAccess( - frame::UICommandDescription::create( + frame::theUICommandDescription::get( ::comphelper::getProcessComponentContext()), uno::UNO_QUERY_THROW ); try |