diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-19 16:59:40 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-19 17:07:46 +0400 |
commit | d30b4e9fb66f377295d8eeea8c1b1cf879aecdf6 (patch) | |
tree | a99079bda02a9d8dd5bd0d54666164f362314c52 /fpicker | |
parent | ST_InfoListReader and ST_InfoListWriter seem to be unused (diff) | |
download | core-d30b4e9fb66f377295d8eeea8c1b1cf879aecdf6.tar.gz core-d30b4e9fb66f377295d8eeea8c1b1cf879aecdf6.zip |
Get rid of size() == 0
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/unx/kde_unx/UnxCommandThread.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/unx/kde_unx/UnxCommandThread.cxx b/fpicker/source/unx/kde_unx/UnxCommandThread.cxx index d929be362fff..8f7ee3d0c21c 100644 --- a/fpicker/source/unx/kde_unx/UnxCommandThread.cxx +++ b/fpicker/source/unx/kde_unx/UnxCommandThread.cxx @@ -182,7 +182,7 @@ void SAL_CALL UnxFilePickerCommandThread::handleCommand( const ::rtl::OUString & ::std::list< ::rtl::OUString > aList = tokenize( rCommand ); - if ( aList.size() == 0 ) + if ( aList.empty() ) return; ::rtl::OUString aCommandName = aList.front(); diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx index 17af33006c2a..2777662c7d3a 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx @@ -775,7 +775,7 @@ void VistaFilePickerImpl::impl_sta_setFiltersOnDialog() aLock.clear(); // <- SYNCHRONIZED - if (lFilters.size() == 0) + if (lFilters.empty()) return; COMDLG_FILTERSPEC *pFilt = &lFilters[0]; |