diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2011-05-06 22:41:45 -0430 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-08 06:37:58 -0700 |
commit | 9151c896707c8827a78f58aa5d6526e09d8be513 (patch) | |
tree | be4c02b328e3615f4ab898d3dc439da7192ad15e /svx | |
parent | 322cbf9d4e5b2ec8b9c55dafc12a580c234e19cc (diff) |
Check if ObjectList has any item with empty instead of size.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index 538b981d9fce..a813ffe8a15b 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -187,7 +187,7 @@ sal_Bool GalleryExplorer::FillObjListTitle( const sal_uInt32 nThemeId, std::vect pGal->ReleaseTheme( pTheme, aListener ); } } - return( rList.size() > 0 ); + return !rList.empty(); } // ------------------------------------------------------------------------ |