summaryrefslogtreecommitdiff
path: root/sfx2/source/inet/inettbc.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-09 08:55:13 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-09 08:55:13 +0000
commit7331478b1edbc723965c75ea8987ec5dcdc42bb1 (patch)
treefab6468f9d5b5e2185b65e77620146edb3bdc097 /sfx2/source/inet/inettbc.cxx
parent44d2e0d25febb3654d2d18aeaeaf5e1ab0e976e1 (diff)
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
Diffstat (limited to 'sfx2/source/inet/inettbc.cxx')
-rw-r--r--sfx2/source/inet/inettbc.cxx11
1 files changed, 4 insertions, 7 deletions
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() )
{