summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-12 21:40:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-12 21:40:17 +0000
commitd20da2c6094df58235ee865d88f3ba9e9e76166b (patch)
tree125b4d802f4812d55f44e5b648fc84a1ed698208 /padmin
parent1125882c0963a592ffe5b3e99c013e10f3ea3d5f (diff)
Len() != isEmpty()
Change-Id: Ia8ba54ec3a99e7d72a6c97fa4082f9e605b6575c
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/cmddlg.cxx8
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() ;