summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2011-05-06 22:41:45 -0430
committerJoseph Powers <jpowers27@cox.net>2011-05-08 06:37:58 -0700
commit9151c896707c8827a78f58aa5d6526e09d8be513 (patch)
treebe4c02b328e3615f4ab898d3dc439da7192ad15e /svx
parent322cbf9d4e5b2ec8b9c55dafc12a580c234e19cc (diff)
Check if ObjectList has any item with empty instead of size.
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galexpl.cxx2
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();
}
// ------------------------------------------------------------------------