[Libreoffice-commits] .: svx/source

Eike Rathke erack at kemper.freedesktop.org
Mon Aug 8 04:15:49 PDT 2011


 svx/source/items/numfmtsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6fcbf6877ef238c0eaf2c0f24830a2a3d12f3a01
Author: Eike Rathke <erack at erack.de>
Date:   Mon Aug 8 13:13:56 2011 +0200

    dammit, why did this even build before?!?

diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 522658e..bcbf8c7 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)
         {


More information about the Libreoffice-commits mailing list