summaryrefslogtreecommitdiff
path: root/padmin/source/prtsetup.cxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-06-21 11:59:43 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-06-21 11:59:43 +0000
commit8ba27c84338332dce60614d3395807c6ce2ca184 (patch)
treee45ea76ca42a0752a16a87c934ff8a18a385cae3 /padmin/source/prtsetup.cxx
parent74a4bbaf47e168531228adafdcde2362116b3a94 (diff)
#85520# fixed some bugs shown in dialogue test
Diffstat (limited to 'padmin/source/prtsetup.cxx')
-rw-r--r--padmin/source/prtsetup.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/padmin/source/prtsetup.cxx b/padmin/source/prtsetup.cxx
index afbae2a7bd37..9a9126e671e7 100644
--- a/padmin/source/prtsetup.cxx
+++ b/padmin/source/prtsetup.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prtsetup.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pl $ $Date: 2001-06-15 15:30:08 $
+ * last change: $Author: pl $ $Date: 2001-06-21 12:59:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -343,19 +343,28 @@ void RTSPaperPage::update()
if( pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "Duplex" ) ) ) )
m_pParent->insertAllPPDValues( m_aDuplexBox, pKey );
else
+ {
+ m_aDuplexText.Enable( FALSE );
m_aDuplexBox.Enable( FALSE );
+ }
// paper
if( pKey = m_pParent->m_aJobData.m_pParser->getKey( String( RTL_CONSTASCII_USTRINGPARAM( "PageSize" ) ) ) )
m_pParent->insertAllPPDValues( m_aPaperBox, pKey );
else
+ {
+ m_aPaperText.Enable( FALSE );
m_aPaperBox.Enable( FALSE );
+ }
// input slots
if( pKey = m_pParent->m_aJobData.m_pParser->getKey( String::CreateFromAscii( "InputSlot" ) ) )
m_pParent->insertAllPPDValues( m_aSlotBox, pKey );
else
+ {
+ m_aSlotText.Enable( FALSE );
m_aSlotBox.Enable( FALSE );
+ }
}
// --------------------------------------------------------------------------