diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 15:50:42 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-11-09 15:50:42 +0000 |
commit | 9f5334e21de037e4c4cfb85d775f7e0a70049611 (patch) | |
tree | a82e852c09b3f479fee74a4a44c2c046503ea90c /padmin | |
parent | 0c4881433044f0e20dcb32e4cb20919d7a21dc0c (diff) |
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
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/adddlg.cxx | 6 |
1 files 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 ); |