diff options
Diffstat (limited to 'framework/source/uielement/toolbarmanager.cxx')
-rw-r--r-- | framework/source/uielement/toolbarmanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index fde16c83ad5c..bf39ac075d17 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -65,8 +65,8 @@ #include <svtools/toolboxcontroller.hxx> #include <unotools/cmdoptions.hxx> #include <toolkit/unohlp.hxx> -#include <comphelper/componentcontext.hxx> #include <comphelper/mediadescriptor.hxx> +#include <comphelper/processfactory.hxx> #include <svtools/miscopt.hxx> #include <svl/imageitm.hxx> #include <svtools/framestatuslistener.hxx> @@ -254,7 +254,7 @@ ToolBarManager::ToolBarManager( const Reference< XMultiServiceFactory >& rServic m_xURLTransformer.set( URLTransformer::create( - ::comphelper::ComponentContext(m_xServiceManager).getUNOContext()) ); + ::comphelper::getComponentContext(m_xServiceManager)) ); } m_pToolBar->SetSelectHdl( LINK( this, ToolBarManager, Select) ); |