From d20da2c6094df58235ee865d88f3ba9e9e76166b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 12 Mar 2013 21:40:17 +0000 Subject: Len() != isEmpty() Change-Id: Ia8ba54ec3a99e7d72a6c97fa4082f9e605b6575c --- padmin/source/cmddlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'padmin') diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx index ea2d547decf8..911b879ca873 100644 --- a/padmin/source/cmddlg.cxx +++ b/padmin/source/cmddlg.cxx @@ -336,7 +336,7 @@ void RTSCommandPage::save() { if( !aToken.isEmpty() ) { - if( aFeatures.isEmpty() ) + if( !aFeatures.isEmpty() ) aFeatures += ","; aFeatures += OUString( aToken ); } @@ -355,13 +355,13 @@ void RTSCommandPage::save() ::std::list< String >* pList = &m_aPrinterCommands; if( bExternalDialog ) { - if( aFeatures.isEmpty() ) + if( !aFeatures.isEmpty() ) aFeatures += ","; aFeatures += "external_dialog" ; } if( bHaveFax ) { - if( aFeatures.isEmpty() ) + if( !aFeatures.isEmpty() ) aFeatures += ","; aFeatures += "fax=" ; if( bFaxSwallow ) @@ -370,7 +370,7 @@ void RTSCommandPage::save() } if( bHavePdf ) { - if( aFeatures.isEmpty() ) + if( !aFeatures.isEmpty() ) aFeatures += ","; aFeatures += "pdf=" ; aFeatures += m_aPdfDirectoryEdit.GetText() ; -- cgit