diff options
author | Tom Tromey <tromey@redhat.com> | 2011-08-11 09:58:30 +0100 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-08-11 09:58:30 +0100 |
commit | c2a634416ba8f385c25c16cc52aeae6f68cab9db (patch) | |
tree | 116687f511d495e8cf458566eb7ca88feb711a50 | |
parent | fa53c328cb028f61f8bff25d1960a94ad39f51ca (diff) |
fix more -fpermissive compile errors from trunck gcc
-rw-r--r-- | comphelper/inc/comphelper/sequenceasvector.hxx | 2 | ||||
-rw-r--r-- | xml2cmp/source/support/list.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx index f44df7a63e1e..909893a88b5d 100644 --- a/comphelper/inc/comphelper/sequenceasvector.hxx +++ b/comphelper/inc/comphelper/sequenceasvector.hxx @@ -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]); } //--------------------------------------- diff --git a/xml2cmp/source/support/list.hxx b/xml2cmp/source/support/list.hxx index 66888ee6bfbc..80b9e5e647ea 100644 --- a/xml2cmp/source/support/list.hxx +++ b/xml2cmp/source/support/list.hxx @@ -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++; |