diff options
Diffstat (limited to 'svx/source/dialog/SafeModeDialog.cxx')
-rw-r--r-- | svx/source/dialog/SafeModeDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/SafeModeDialog.cxx b/svx/source/dialog/SafeModeDialog.cxx index d802258d3788..e32128570db4 100644 --- a/svx/source/dialog/SafeModeDialog.cxx +++ b/svx/source/dialog/SafeModeDialog.cxx @@ -356,7 +356,7 @@ namespace { css::system::SystemShellExecute::create(comphelper::getProcessComponentContext())); try { exec->execute(uri, OUString(), css::system::SystemShellExecuteFlags::URIS_ONLY); - } catch (css::uno::Exception) { + } catch (const css::uno::Exception &) { } m_xDialog->response(RET_OK); } @@ -373,7 +373,7 @@ IMPL_LINK(SafeModeDialog, CreateZipBtnHdl, Button*, /*pBtn*/, void) aZipHelper.addFolderWithContent(aZipHelper.getRootFolder(), comphelper::BackupFileHelper::getUserProfileWorkURL()); aZipHelper.savePackage(); } - catch (uno::Exception) + catch (const uno::Exception &) { std::unique_ptr<weld::MessageDialog> xBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Warning, VclButtonsType::Ok, |