fpicker/source/office/RemoteFilesDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20ecb4b7b807b63d25195c44c02cb5bf0624ab7a
Author: Markus Mohrhard <[email protected]>
Date:   Mon Jul 31 02:22:30 2017 +0200

    use empty instead of size() == 0
    
    Change-Id: I08b1e73323a15dd977daba98946e7deec3967503
    Reviewed-on: https://gerrit.libreoffice.org/40575
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Markus Mohrhard <[email protected]>

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() )
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to