Kaydet (Commit) 27d3fc22 authored tarafından Michael Stahl's avatar Michael Stahl

warning C4018: '>': signed/unsigned mismatch

Change-Id: I25607ce79111b2c2933ab5e2c165df0594ed4363
üst 772699ac
......@@ -85,7 +85,7 @@ public:
void Insert( const SearchAttrItem& rItem )
{ SrchAttrItemList::push_back( rItem ); }
// deletes the pointer to the items
void Remove( sal_uInt16 nPos, sal_uInt16 nLen = 1 );
void Remove(size_t nPos, size_t nLen = 1);
};
#ifndef SV_NODIALOG
......
......@@ -245,7 +245,7 @@ void SearchAttrItemList::Clear()
// -----------------------------------------------------------------------
// Deletes the pointer to the items
void SearchAttrItemList::Remove( sal_uInt16 nPos, sal_uInt16 nLen )
void SearchAttrItemList::Remove(size_t nPos, size_t nLen)
{
if ( nPos + nLen > size() )
nLen = size() - nPos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment