diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 21:40:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 21:40:17 +0000 |
commit | d20da2c6094df58235ee865d88f3ba9e9e76166b (patch) | |
tree | 125b4d802f4812d55f44e5b648fc84a1ed698208 /padmin | |
parent | 1125882c0963a592ffe5b3e99c013e10f3ea3d5f (diff) |
Len() != isEmpty()
Change-Id: Ia8ba54ec3a99e7d72a6c97fa4082f9e605b6575c
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/cmddlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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() ; |