[Libreoffice-commits] core.git: sw/source

Pierre-Eric Pelloux-Prayer pierre-eric at lanedo.com
Wed Jul 17 01:56:57 PDT 2013


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

New commits:
commit 788fa63351c00bce83b485fa1725e36a57336ab3
Author: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>
Date:   Wed Jun 12 13:03:25 2013 +0200

    mail merge: forward PrinterName property to ExecPrint method
    
    Otherwise, there's no way to select the printer to use (from an
    extension)
    
    Change-Id: Iee59f9de38547a8edb0419cf4d2df3c1ce2d7999
    Reviewed-on: https://gerrit.libreoffice.org/4858
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/dbui/dbmgr.cxx b/sw/source/ui/dbui/dbmgr.cxx
index b0bbc15..3ab17cd 100644
--- a/sw/source/ui/dbui/dbmgr.cxx
+++ b/sw/source/ui/dbui/dbmgr.cxx
@@ -1299,7 +1299,7 @@ sal_Bool SwNewDBMgr::MergeMailFiles(SwWrtShell* pSourceShell,
                     {
                         if( pPrintOptions[nOption].Name == "CopyCount" || pPrintOptions[nOption].Name == "FileName"
                             || pPrintOptions[nOption].Name == "Collate" || pPrintOptions[nOption].Name == "Pages"
-                            || pPrintOptions[nOption].Name == "Wait" )
+                            || pPrintOptions[nOption].Name == "Wait" || pPrintOptions[nOption].Name == "PrinterName" )
                         {
                             // add an option
                             aOptions.realloc( nIndex + 1 );


More information about the Libreoffice-commits mailing list