diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-03-16 11:16:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-16 15:01:26 +0100 |
commit | d4b67611c421ebe9b75284106fe389b434419961 (patch) | |
tree | 9aebc058ae712e5bb1953267261c28c5a929f306 /framework | |
parent | add indentation to sw's layout dumper (diff) | |
download | core-d4b67611c421ebe9b75284106fe389b434419961.tar.gz core-d4b67611c421ebe9b75284106fe389b434419961.zip |
Introduced SystemShellExecuteFlags::URIS_ONLY
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/dispatch/mailtodispatcher.cxx | 2 | ||||
-rw-r--r-- | framework/source/dispatch/systemexec.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/backingwindow.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/dispatch/mailtodispatcher.cxx b/framework/source/dispatch/mailtodispatcher.cxx index 095ff5500549..ee00c47b0c12 100644 --- a/framework/source/dispatch/mailtodispatcher.cxx +++ b/framework/source/dispatch/mailtodispatcher.cxx @@ -283,7 +283,7 @@ sal_Bool MailToDispatcher::implts_dispatch( const css::util::URL& // start mail client // Because there is no notofocation about success - we use case of // no detected exception as SUCCESS - FAILED otherwhise. - xSystemShellExecute->execute( aURL.Complete, ::rtl::OUString(), css::system::SystemShellExecuteFlags::DEFAULTS ); + xSystemShellExecute->execute( aURL.Complete, ::rtl::OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY ); bSuccess = sal_True; } catch (const css::lang::IllegalArgumentException&) diff --git a/framework/source/dispatch/systemexec.cxx b/framework/source/dispatch/systemexec.cxx index e516a38ef577..d3f5e78270dd 100644 --- a/framework/source/dispatch/systemexec.cxx +++ b/framework/source/dispatch/systemexec.cxx @@ -192,7 +192,7 @@ void SAL_CALL SystemExec::dispatchWithNotification( const css::util::URL& xFactory->createInstance(SERVICENAME_SYSTEMSHELLEXECUTE), css::uno::UNO_QUERY_THROW); - xShell->execute(sSystemURL, ::rtl::OUString(), css::system::SystemShellExecuteFlags::DEFAULTS); + xShell->execute(sSystemURL, ::rtl::OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY); impl_notifyResultListener(xListener, css::frame::DispatchResultState::SUCCESS); } catch(const css::uno::Exception&) diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index ace2caa7c7be..d930f772375b 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -858,7 +858,7 @@ IMPL_LINK_NOARG(BackingWindow, ToolboxHdl) rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.system.SystemShellExecute" ) ) ), UNO_QUERY_THROW); //throws css::lang::IllegalArgumentException, css::system::SystemShellExecuteException - xSystemShellExecute->execute( sURL, rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS); + xSystemShellExecute->execute( sURL, rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::URIS_ONLY); } } } |