diff options
Diffstat (limited to 'padmin/source/adddlg.cxx')
-rw-r--r-- | padmin/source/adddlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index e8b5941b77bb..85372dff4a40 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -346,7 +346,7 @@ APNamePage::~APNamePage() bool APNamePage::check() { - return m_aNameEdt.GetText().Len(); + return !m_aNameEdt.GetText().isEmpty(); } void APNamePage::fill( PrinterInfo& rInfo ) @@ -455,7 +455,7 @@ IMPL_LINK( APCommandPage, ModifyHdl, ComboBox*, pBox ) { if( pBox == &m_aCommandBox ) { - m_pParent->enableNext( m_aCommandBox.GetText().Len() ); + m_pParent->enableNext( !m_aCommandBox.GetText().isEmpty() ); } return 0; } |