fix more -fpermissive compile errors from trunck gcc

This commit is contained in:
Tom Tromey
2011-08-11 09:58:30 +01:00
committed by Noel Power
parent fa53c328cb
commit c2a634416b
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ class SequenceAsVector : public ::std::vector< TElementType >
const TElementType* pSource = lSource.getConstArray();
for (sal_Int32 i=0; i<c; ++i)
push_back(pSource[i]);
this->push_back(pSource[i]);
}
//---------------------------------------

View File

@@ -226,7 +226,7 @@ DynamicList<XY>::insert(unsigned pos, XY * const & elem_)
if ( pos > this->len )
return;
checkSize(this->len+2);
this->checkSize(this->len+2);
memmove(this->inhalt[pos+1], this->inhalt[pos], (this->len-pos) * sizeof(XY*) );
this->inhalt[pos] = elem_;
this->len++;