summaryrefslogtreecommitdiff
path: root/svx/source/items
diff options
context:
space:
mode:
authorEike Rathke <erack@erack.de>2011-08-08 13:13:56 +0200
committerEike Rathke <erack@erack.de>2011-08-08 13:15:36 +0200
commit6fcbf6877ef238c0eaf2c0f24830a2a3d12f3a01 (patch)
tree3ede6edcdc152559615a443480dbe88dece96bab /svx/source/items
parent7702cc5a7aea3d20138cba0cde86ef8a952619f0 (diff)
dammit, why did this even build before?!?
Diffstat (limited to 'svx/source/items')
-rw-r--r--svx/source/items/numfmtsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 522658eb8912..bcbf8c731899 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -1469,7 +1469,7 @@ short SvxNumberFormatShell::GetListPos4Entry(sal_uInt32 nIdx)
short nSelP=SELPOS_NONE;
// Check list size against return type limit.
- if( aCurEntryList.Count() <= ::std::numeric_limits< short >::max() )
+ if( aCurEntryList.size() <= static_cast<size_t>(::std::numeric_limits< short >::max()) )
{
for(size_t i=0; i < aCurEntryList.size(); ++i)
{