[Libreoffice-commits] .: soltools/inc
Michael Meeks
michael at kemper.freedesktop.org
Thu Aug 18 03:03:52 PDT 2011
soltools/inc/st_list.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 7762f92e914972f2ad7eb6a92f233aa233dae98b
Author: Tom Tromey <tromey at redhat.com>
Date: Thu Aug 18 11:00:57 2011 +0100
compile / scope fix for latest gcc
diff --git a/soltools/inc/st_list.hxx b/soltools/inc/st_list.hxx
index 5717e01..8ede2ef 100644
--- a/soltools/inc/st_list.hxx
+++ b/soltools/inc/st_list.hxx
@@ -295,7 +295,7 @@ DynamicList<XY>::operator=( const DynamicList<XY> & i_rList )
it != i_rList.end();
++it )
{
- push_back( new XY(*(*it)) );
+ this->push_back( new XY(*(*it)) );
}
return *this;
}
@@ -308,7 +308,7 @@ DynamicList<XY>::Insert(unsigned pos, XY * const & elem_)
if ( pos > this->len )
return;
- checkSize(DynamicList<XY>::len+2);
+ this->checkSize(DynamicList<XY>::len+2);
memmove( DynamicList<XY>::inhalt+pos+1, DynamicList<XY>::inhalt+pos, (DynamicList<XY>::len-pos) * sizeof(XY*) );
this->inhalt[pos] = elem_;
this->len++;
More information about the Libreoffice-commits
mailing list