sw/source/ui/dbui/mmoutputtypepage.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f02673722dc14c9f1864887d5b159cda0d7ae8c4
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Tue Apr 5 10:16:35 2022 +0300
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Wed Apr 6 17:40:30 2022 +0200

    Related tdf#148384: Don't overwrite task name with result
    
    Regression after commit ed200d9f2586b714718aaa7319ea68cf480261ad
      Author Caolán McNamara <caol...@redhat.com>
      Date   Fri Jun 28 16:01:00 2019 +0100
        weld SwSendMailDialog
    
    Change-Id: I397d3263268b94f83f2ccd7137c3de36e91a03a5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132564
    Tested-by: Mike Kaganski <mike.kagan...@collabora.com>
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>
    (cherry picked from commit 64b046b908cdf1204b105f1ebddfc41a5054e884)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132599
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx 
b/sw/source/ui/dbui/mmoutputtypepage.cxx
index b0c22b9144cf..5a7ba198d6b1 100644
--- a/sw/source/ui/dbui/mmoutputtypepage.cxx
+++ b/sw/source/ui/dbui/mmoutputtypepage.cxx
@@ -392,7 +392,7 @@ void  SwSendMailDialog::IterateMails()
             m_xStatus->append();
             m_xStatus->set_image(m_nSendCount, RID_BMP_FORMULA_CANCEL, 0);
             m_xStatus->set_text(m_nSendCount, sMessage.replaceFirst("%1", 
pCurrentMailDescriptor->sEMail), 1);
-            m_xStatus->set_text(m_nSendCount, m_sFailed, 1);
+            m_xStatus->set_text(m_nSendCount, m_sFailed, 2);
             ++m_nSendCount;
             ++m_nErrorCount;
             UpdateTransferStatus( );
@@ -476,7 +476,7 @@ void SwSendMailDialog::DocumentSent( uno::Reference< 
mail::XMailMessage> const &
     m_xStatus->append();
     m_xStatus->set_image(m_nSendCount, sInsertImg, 0);
     m_xStatus->set_text(m_nSendCount, sMessage.replaceFirst("%1", 
xMessage->getRecipients()[0]), 1);
-    m_xStatus->set_text(m_nSendCount, bResult ? m_sCompleted : m_sFailed, 1);
+    m_xStatus->set_text(m_nSendCount, bResult ? m_sCompleted : m_sFailed, 2);
     ++m_nSendCount;
     if(!bResult)
         ++m_nErrorCount;

Reply via email to