diff options
Diffstat (limited to 'sfx2/source/sidebar/ControllerFactory.cxx')
-rw-r--r-- | sfx2/source/sidebar/ControllerFactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |