diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2021-05-25 13:31:56 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2021-05-26 00:28:45 +0200 |
commit | 4d800dd7b58291386850d69570d027192419c5a0 (patch) | |
tree | 657048f3d4f4c0ee8b82ed40e00e7145a427c825 /svx | |
parent | 0563867d60ad477235bb5595c895a4f1e06a53b1 (diff) |
clang-format crashreportdlg
Change-Id: I58031cafaa9481ba6e8d77a7106485d8274e5bc6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116104
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/crashreportdlg.cxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/svx/source/dialog/crashreportdlg.cxx b/svx/source/dialog/crashreportdlg.cxx index 0f56078b5d40..2845541d0b78 100644 --- a/svx/source/dialog/crashreportdlg.cxx +++ b/svx/source/dialog/crashreportdlg.cxx @@ -9,7 +9,6 @@ #include "crashreportdlg.hxx" - #include <desktop/crashreport.hxx> #include <sfx2/safemode.hxx> #include <comphelper/processfactory.hxx> @@ -18,8 +17,7 @@ #include <com/sun/star/task/XInteractionHandler.hpp> CrashReportDialog::CrashReportDialog(weld::Window* pParent) - : GenericDialogController(pParent, "svx/ui/crashreportdlg.ui", - "CrashReportDialog") + : GenericDialogController(pParent, "svx/ui/crashreportdlg.ui", "CrashReportDialog") , mxBtnSend(m_xBuilder->weld_button("btn_send")) , mxBtnCancel(m_xBuilder->weld_button("btn_cancel")) , mxBtnClose(m_xBuilder->weld_button("btn_close")) @@ -40,9 +38,7 @@ CrashReportDialog::CrashReportDialog(weld::Window* pParent) mxBtnClose->connect_clicked(LINK(this, CrashReportDialog, BtnHdl)); } -CrashReportDialog::~CrashReportDialog() -{ -} +CrashReportDialog::~CrashReportDialog() {} short CrashReportDialog::run() { @@ -52,8 +48,8 @@ short CrashReportDialog::run() if (mxCBSafeMode->get_active()) { sfx2::SafeMode::putFlag(); - css::task::OfficeRestartManager::get(comphelper::getProcessComponentContext())->requestRestart( - css::uno::Reference< css::task::XInteractionHandler >()); + css::task::OfficeRestartManager::get(comphelper::getProcessComponentContext()) + ->requestRestart(css::uno::Reference<css::task::XInteractionHandler>()); } return nRet; } @@ -69,7 +65,8 @@ IMPL_LINK(CrashReportDialog, BtnHdl, weld::Button&, rBtn, void) if (bSuccess) { - OUString aProcessedMessage = maSuccessMsg.replaceAll("%CRASHID", aCrashID.replaceAll("Crash-ID=","")); + OUString aProcessedMessage + = maSuccessMsg.replaceAll("%CRASHID", aCrashID.replaceAll("Crash-ID=", "")); // vclbuilder seems to replace _ with ~ even in text mxEditPostUpload->set_text(aProcessedMessage.replaceAll("~", "_")); |