diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/pch/precompiled_sfx.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/ControllerFactory.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/inc/pch/precompiled_sfx.hxx b/sfx2/inc/pch/precompiled_sfx.hxx index f2e871335f10..208f750dd5ab 100644 --- a/sfx2/inc/pch/precompiled_sfx.hxx +++ b/sfx2/inc/pch/precompiled_sfx.hxx @@ -253,7 +253,7 @@ #include <com/sun/star/frame/IllegalArgumentIOException.hpp> #include <com/sun/star/frame/LayoutManagerEvents.hpp> #include <com/sun/star/frame/ModuleManager.hpp> -#include <com/sun/star/frame/ToolbarControllerFactory.hpp> +#include <com/sun/star/frame/theToolbarControllerFactory.hpp> #include <com/sun/star/frame/theUICommandDescription.hpp> #include <com/sun/star/frame/UntitledNumbersConst.hpp> #include <com/sun/star/frame/XBorderResizeListener.hpp> diff --git a/sfx2/source/sidebar/ControllerFactory.cxx b/sfx2/source/sidebar/ControllerFactory.cxx index 90e202ca9232..3a6e294246e5 100644 --- a/sfx2/source/sidebar/ControllerFactory.cxx +++ b/sfx2/source/sidebar/ControllerFactory.cxx @@ -23,7 +23,7 @@ #include <com/sun/star/frame/XToolbarController.hpp> #include <com/sun/star/frame/XFrame.hpp> -#include <com/sun/star/frame/ToolbarControllerFactory.hpp> +#include <com/sun/star/frame/theToolbarControllerFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <framework/sfxhelperfunctions.hxx> @@ -147,7 +147,7 @@ Reference<frame::XToolbarController> ControllerFactory::CreateToolBarController( try { Reference<XComponentContext> xContext = comphelper::getProcessComponentContext(); - Reference<frame::XUIControllerFactory> xFactory = frame::ToolbarControllerFactory::create( xContext ); + Reference<frame::XUIControllerFactory> xFactory = frame::theToolbarControllerFactory::get( xContext ); OUString sModuleName (Tools::GetModuleName(rxFrame)); if (xFactory.is() && xFactory->hasController(rsCommandName, sModuleName)) |