diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-31 02:22:30 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-07-31 04:29:30 +0200 |
commit | 20ecb4b7b807b63d25195c44c02cb5bf0624ab7a (patch) | |
tree | 3f1be71d007f04a201cd72e555c11f0a4b617c8f /fpicker | |
parent | 0163984ce76141665296969118791a9ffbf076eb (diff) |
use empty instead of size() == 0
Change-Id: I08b1e73323a15dd977daba98946e7deec3967503
Reviewed-on: https://gerrit.libreoffice.org/40575
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index fd9a29a14b3b..ca37b71c8c15 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -526,7 +526,7 @@ int RemoteFilesDialog::GetSelectedServicePos() int nPos = 0; int i = -1; - if( m_aServices.size() == 0 ) + if( m_aServices.empty() ) return -1; while( nPos < ( int )m_aServices.size() ) |