diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/ControllerFactory.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/ControllerFactory.cxx b/sfx2/source/sidebar/ControllerFactory.cxx index 2d887bd48536..692ee10628d4 100644 --- a/sfx2/source/sidebar/ControllerFactory.cxx +++ b/sfx2/source/sidebar/ControllerFactory.cxx @@ -26,9 +26,10 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <framework/sfxhelperfunctions.hxx> +#include <framework/generictoolbarcontroller.hxx> +#include <vcl/toolbox.hxx> #include <vcl/commandinfoprovider.hxx> #include <vcl/weldutils.hxx> -#include <svtools/generictoolboxcontroller.hxx> #include <comphelper/processfactory.hxx> #include <toolkit/helper/vclunohelper.hxx> @@ -69,7 +70,7 @@ Reference<frame::XToolbarController> ControllerFactory::CreateToolBoxController( if ( ! xController.is()) { xController.set( - static_cast<XWeak*>(new svt::GenericToolboxController( + static_cast<XWeak*>(new framework::GenericToolbarController( ::comphelper::getProcessComponentContext(), rxFrame, pToolBox, @@ -155,7 +156,7 @@ Reference<frame::XToolbarController> ControllerFactory::CreateToolBoxController( if (!xController.is()) { xController.set( - static_cast<XWeak*>(new svt::GenericToolboxController( + static_cast<XWeak*>(new framework::GenericToolbarController( ::comphelper::getProcessComponentContext(), rxFrame, rToolbar, |