summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-12 21:38:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-12 21:38:20 +0000
commit1125882c0963a592ffe5b3e99c013e10f3ea3d5f (patch)
tree4674c142ce356f0994a542c3b139622916cfbcd8 /padmin
parent0b226da01318ce4af7d7a58829ef6bb41d640f61 (diff)
Len() != isEmpty()
Change-Id: I42151d1f406ad43fae3c720c5c2663789a23cf8e
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/cmddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx
index 283c6b06626e..ea2d547decf8 100644
--- a/padmin/source/cmddlg.cxx
+++ b/padmin/source/cmddlg.cxx
@@ -124,7 +124,7 @@ void CommandStore::getStoredCommands( const char* pGroup, ::std::list< String >&
while( nKeys-- )
{
OUString aCommand( rConfig.ReadKey(rtl::OString::valueOf(nKeys), RTL_TEXTENCODING_UTF8 ) );
- if( aCommand.isEmpty() )
+ if( !aCommand.isEmpty() )
{
for( it = rCommands.begin(); it != rCommands.end() && *it != aCommand; ++it )
;