summaryrefslogtreecommitdiff
path: root/framework/source/uielement/buttontoolbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/buttontoolbarcontroller.cxx')
-rw-r--r--framework/source/uielement/buttontoolbarcontroller.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx
index e964d30127de..c252ea804158 100644
--- a/framework/source/uielement/buttontoolbarcontroller.cxx
+++ b/framework/source/uielement/buttontoolbarcontroller.cxx
@@ -42,7 +42,6 @@
#include <rtl/uri.hxx>
#include <osl/mutex.hxx>
-#include <comphelper/componentcontext.hxx>
#include <comphelper/processfactory.hxx>
#include <unotools/ucbstreamhelper.hxx>
#include <vcl/svapp.hxx>
@@ -235,7 +234,7 @@ throw (::com::sun::star::uno::RuntimeException)
{
if ( !m_xURLTransformer.is() )
{
- m_xURLTransformer = util::URLTransformer::create( ::comphelper::ComponentContext(m_xServiceManager).getUNOContext() );
+ m_xURLTransformer = util::URLTransformer::create( ::comphelper::getComponentContext(m_xServiceManager) );
}
xFrame = m_xFrame;