INTEGRATION: CWS warnings01 (1.4.30); FILE MERGED

2005/11/07 18:54:54 pl 1.4.30.3: RESYNC: (1.5-1.6); FILE MERGED
2005/09/22 20:22:30 sb 1.4.30.2: RESYNC: (1.4-1.5); FILE MERGED
2005/09/01 14:56:19 sb 1.4.30.1: #i53898# Made code warning-free.
This commit is contained in:
Jens-Heiner Rechtien 2006-06-19 23:10:31 +00:00
parent f648a9a519
commit 0e579bf306

View file

@ -4,9 +4,9 @@
*
* $RCSfile: vendorlist.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2005-10-25 11:35:52 $
* last change: $Author: hr $ $Date: 2006-06-20 00:10:31 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -64,7 +64,7 @@ Sequence<OUString> getVendorNames()
{
const size_t count = sizeof(gVendorMap) / sizeof (VendorSupportMapEntry) - 1;
OUString arNames[count];
for ( sal_Int32 pos = 0; pos < count; ++pos )
for ( size_t pos = 0; pos < count; ++pos )
{
OString sVendor(gVendorMap[pos].sVendorName);
arNames[pos] = OStringToOUString(sVendor, RTL_TEXTENCODING_UTF8);