[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - vcl/source

Caolán McNamara caolanm at redhat.com
Tue Feb 18 23:19:15 CET 2014


 vcl/source/window/printdlg.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 07f0566026db8f5ec048297785f82a43e73a14f6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 4 16:48:08 2013 +0000

    fdo#41760 rhbz#1038189 refresh printer list when print dialog launched
    
    which is the the same thing the printer settings dialog does
    
    (cherry picked from commit 02efbed152a3a9e364cdb73628af0aed0f5d6f7a)
    Signed-off-by: Michael Stahl <mstahl at redhat.com>
    
    Change-Id: I36fb9f057b66faa8c9fce5a9934ed2fb70786363

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index b8cb188..21941ca 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -602,6 +602,8 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont
     // init reverse print
     maJobPage.mpReverseOrderBox->Check( maPController->getReversePrint() );
 
+    Printer::updatePrinters();
+
     // fill printer listbox
     const std::vector< OUString >& rQueues( Printer::GetPrinterQueues() );
     for( std::vector< OUString >::const_iterator it = rQueues.begin();


More information about the Libreoffice-commits mailing list