From 9f5334e21de037e4c4cfb85d775f7e0a70049611 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 9 Nov 2004 15:50:42 +0000 Subject: [PATCH] INTEGRATION: CWS vcl28 (1.15.4); FILE MERGED 2004/10/07 16:32:03 pl 1.15.4.1: #i34799# make CUPSManager fall back to PrinterInfoManager as long as no dests are delivered --- padmin/source/adddlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index d47b5b41aa86..472ec248864b 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: adddlg.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: rt $ $Date: 2004-09-08 14:18:21 $ + * last change: $Author: hr $ $Date: 2004-11-09 16:50:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -112,7 +112,7 @@ APChooseDevicePage::APChooseDevicePage( AddPrinterDialog* pParent ) : m_aOldBtn.Check( FALSE ); if( ! AddPrinterDialog::getOldPrinterLocation().Len() ) m_aOldBtn.Enable( FALSE ); - if( PrinterInfoManager::get().getType() != PrinterInfoManager::Default ) + if( ! PrinterInfoManager::get().addOrRemovePossible() ) { m_aPrinterBtn.Check( FALSE ); m_aFaxBtn.Check( TRUE );