diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/core/extedit.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/svx/source/core/extedit.cxx b/svx/source/core/extedit.cxx index b49125332b29..6f6dc2c63afa 100644 --- a/svx/source/core/extedit.cxx +++ b/svx/source/core/extedit.cxx @@ -87,9 +87,17 @@ public: void ExternalToolEditThread::execute() { - Reference<XSystemShellExecute> xSystemShellExecute( - SystemShellExecute::create( ::comphelper::getProcessComponentContext() ) ); - xSystemShellExecute->execute(m_aFileName, OUString(), SystemShellExecuteFlags::URIS_ONLY); + try + { + Reference<XSystemShellExecute> const xSystemShellExecute( + SystemShellExecute::create( ::comphelper::getProcessComponentContext())); + xSystemShellExecute->execute(m_aFileName, OUString(), + SystemShellExecuteFlags::URIS_ONLY); + } + catch (uno::Exception const& e) + { + SAL_WARN("svx", "ExternalToolEditThread: exception: " << e.Message); + } } void ExternalToolEdit::Edit(GraphicObject const*const pGraphicObject) |