solenv/clang-format/excludelist | 1 - svx/source/dialog/crashreportdlg.cxx | 15 ++++++--------- 2 files changed, 6 insertions(+), 10 deletions(-)
New commits: commit 4d800dd7b58291386850d69570d027192419c5a0 Author: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> AuthorDate: Tue May 25 13:31:56 2021 +0200 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Wed May 26 00:28:45 2021 +0200 clang-format crashreportdlg Change-Id: I58031cafaa9481ba6e8d77a7106485d8274e5bc6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116104 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index b51a9d8edb0c..22cd1b275860 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -11539,7 +11539,6 @@ svx/source/dialog/connctrl.cxx svx/source/dialog/contimp.hxx svx/source/dialog/contwnd.cxx svx/source/dialog/contwnd.hxx -svx/source/dialog/crashreportdlg.cxx svx/source/dialog/crashreportui.cxx svx/source/dialog/ctredlin.cxx svx/source/dialog/databaseregistrationui.cxx 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("~", "_")); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits