diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 21:43:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-12 21:43:33 +0000 |
commit | 5908e9012491d53bba8670d37088e78153915e8d (patch) | |
tree | 4967cdd774f91f6b1cc26084582e8425e198c2d5 /padmin | |
parent | d20da2c6094df58235ee865d88f3ba9e9e76166b (diff) |
Len() != isEmpty()
Change-Id: I249c0cd072c51c07fddac730791468952a0757af
Diffstat (limited to 'padmin')
-rw-r--r-- | padmin/source/adddlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/adddlg.cxx b/padmin/source/adddlg.cxx index 46706e3a09f4..6f8165b353b1 100644 --- a/padmin/source/adddlg.cxx +++ b/padmin/source/adddlg.cxx @@ -526,7 +526,7 @@ APOldPrinterPage::APOldPrinterPage( AddPrinterDialog* pParent ) // read the command aConfig.SetGroup( "ports" ); rtl::OString aCommand( aConfig.ReadKey( aPort ) ); - if (aCommand.isEmpty()) + if (!aCommand.isEmpty()) { OUString aText( PaResId( RID_TXT_PRINTERWITHOUTCOMMAND ) ); aText.replaceFirst( OUString( "%s" ), rtl::OStringToOUString(aPrinter, aEncoding) ); |