summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindows.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxwindows.cxx')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 554b5fc7f212..d7404132d545 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2877,28 +2877,6 @@ void VCLXFixedHyperlink::ProcessWindowEvent( const VclWindowEvent& rVclWindowEve
aEvent.Source = static_cast<cppu::OWeakObject*>(this);
maActionListeners.actionPerformed( aEvent );
}
- else
- {
- // open the URL
- OUString sURL;
- VclPtr< FixedHyperlink > pBase = GetAs< FixedHyperlink >();
- if ( pBase )
- sURL = pBase->GetURL();
- Reference< css::system::XSystemShellExecute > xSystemShellExecute( css::system::SystemShellExecute::create(
- ::comphelper::getProcessComponentContext() ) );
- if ( !sURL.isEmpty() )
- {
- try
- {
- // start browser
- xSystemShellExecute->execute(
- sURL, OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY );
- }
- catch( uno::Exception& )
- {
- }
- }
- }
[[fallthrough]];
}
default: