From 7331478b1edbc723965c75ea8987ec5dcdc42bb1 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 9 Sep 2004 08:55:13 +0000 Subject: INTEGRATION: CWS insight02 (1.26.66); FILE MERGED 2004/08/18 08:51:57 oj 1.26.66.1: #i32563# new methods in svt::toolboxcontroller --- sfx2/source/inet/inettbc.cxx | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sfx2/source/inet/inettbc.cxx') diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 874d52e66283..75a5d9e8d272 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: inettbc.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: obo $ $Date: 2004-07-06 13:37:46 $ + * last change: $Author: rt $ $Date: 2004-09-09 09:55:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -162,7 +162,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const String& rName, BOOL bNew ) const if ( !aName.Len() ) return; - Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY ); + Reference< XDispatchProvider > xDispatchProvider( getFrameInterface(), UNO_QUERY ); if ( xDispatchProvider.is() && m_xServiceManager.is() ) { URL aTargetURL; @@ -170,10 +170,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const String& rName, BOOL bNew ) const aTargetURL.Complete = aName; - Reference < XURLTransformer > xTrans( m_xServiceManager->createInstance( - OUString::createFromAscii( "com.sun.star.util.URLTransformer" )), - UNO_QUERY ); - xTrans->parseStrict( aTargetURL ); + getURLTransformer()->parseStrict( aTargetURL ); Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, aTarget, 0 ); if ( xDispatch.is() ) { -- cgit