sw/source/ui/dbui/mailmergechildwindow.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eda8111fdf9b1c69935237106a73d1c53c2776e1
Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
Date:   Mon Nov 25 23:34:09 2013 -0200

    Mailmerge shows wrong number of emails to be sent
    
    The progress bar is ok, but the text is displayed with the total
    number of registers instead of the amount selected to be used.
    
    Change-Id: I81da0e7ba9f193366e12cbf81118e36a43bcaad4
    Signed-off-by: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/6810
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/ui/dbui/mailmergechildwindow.cxx 
b/sw/source/ui/dbui/mailmergechildwindow.cxx
index 682ab22..c1dc07a 100644
--- a/sw/source/ui/dbui/mailmergechildwindow.cxx
+++ b/sw/source/ui/dbui/mailmergechildwindow.cxx
@@ -648,7 +648,7 @@ void SwSendMailDialog::UpdateTransferStatus()
 {
     OUString sStatus( m_sTransferStatus );
     sStatus = sStatus.replaceFirst("%1", OUString::number(m_nSendCount) );
-    sStatus = sStatus.replaceFirst("%2", 
OUString::number(m_pImpl->nDocumentCount));
+    sStatus = sStatus.replaceFirst("%2", 
OUString::number(m_pImpl->aDescriptors.size()));
     m_aTransferStatusFT.SetText(sStatus);
 
     sStatus = m_sErrorStatus.replaceFirst("%1", 
OUString::number(m_nErrorCount) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to