[Libreoffice-commits] .: comphelper/inc xml2cmp/source
Noel Power
noelp at kemper.freedesktop.org
Thu Aug 11 01:57:38 PDT 2011
comphelper/inc/comphelper/sequenceasvector.hxx | 2 +-
xml2cmp/source/support/list.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c2a634416ba8f385c25c16cc52aeae6f68cab9db
Author: Tom Tromey <tromey at redhat.com>
Date: Thu Aug 11 09:58:30 2011 +0100
fix more -fpermissive compile errors from trunck gcc
diff --git a/comphelper/inc/comphelper/sequenceasvector.hxx b/comphelper/inc/comphelper/sequenceasvector.hxx
index f44df7a..909893a 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 66888ee..80b9e5e 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++;
More information about the Libreoffice-commits
mailing list