fix more -fpermissive compile errors from trunck gcc
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
//---------------------------------------
|
||||
|
@@ -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++;
|
||||
|
Reference in New Issue
Block a user