summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-21 13:59:47 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-21 19:58:45 +0100
commitcfc2f1919f8cf856c0c884dac7e4eb83bece4a7f (patch)
treefeefe9595470b858b4b4743b46914be21094c2ad /padmin
parent94f114550a8fd9f21e70fa98a4b564d7643d47d4 (diff)
Improve checking for emptiness (while)
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/newppdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx
index 3521a0c700f4..593c09cb6c35 100644
--- a/padmin/source/newppdlg.cxx
+++ b/padmin/source/newppdlg.cxx
@@ -138,7 +138,7 @@ void PPDImportDialog::Import()
int i = 0;
aProgress.setRange( 0, aFiles.size() );
- while( aFiles.size() )
+ while( !aFiles.empty() )
{
aProgress.setValue( ++i );
aProgress.setFilename( aFiles.front() );