[Libreoffice-commits] core.git: padmin/source
Caolán McNamara
caolanm at redhat.com
Tue Mar 12 14:38:48 PDT 2013
padmin/source/cmddlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1125882c0963a592ffe5b3e99c013e10f3ea3d5f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Mar 12 21:38:20 2013 +0000
Len() != isEmpty()
Change-Id: I42151d1f406ad43fae3c720c5c2663789a23cf8e
diff --git a/padmin/source/cmddlg.cxx b/padmin/source/cmddlg.cxx
index 283c6b0..ea2d547 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 )
;
More information about the Libreoffice-commits
mailing list