[Libreoffice-commits] .: sc/source
Muthu Subramanian
sumuthu at kemper.freedesktop.org
Mon Jun 6 06:58:30 PDT 2011
sc/source/filter/excel/xestream.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a0a74cb53280b0ce7abd3fe08bbbdf548ea91bd5
Author: Muthu Subramanian <sumuthu at novell.com>
Date: Mon Jun 6 19:40:32 2011 +0530
Warnings removal.
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 60a0ee4..ae27b99 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -861,7 +861,7 @@ OUString XclXmlUtils::ToOUString( const char* s )
OUString XclXmlUtils::ToOUString( const ScfUInt16Vec& rBuf, sal_Int32 nStart, sal_Int32 nLength )
{
- if( nLength == -1 || ( nLength > (rBuf.size() - nStart) ) )
+ if( nLength == -1 || ( nLength > ((sal_Int32)rBuf.size() - nStart) ) )
nLength = (rBuf.size() - nStart);
return (nLength > 0) ? OUString( &rBuf[nStart], nLength ) : OUString();
More information about the Libreoffice-commits
mailing list