summaryrefslogtreecommitdiff
path: root/soltools/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-07-30 14:08:11 +0000
committerKurt Zenker <kz@openoffice.org>2004-07-30 14:08:11 +0000
commitd1279d12b0f37597ca8a62e792e7d36b7658b2fc (patch)
tree9ff3078150988205c252217e2bf85c064bdd9e86 /soltools/inc
parentba4c539d7ac09df76149fc1dbcd69aab245e0c05 (diff)
INTEGRATION: CWS gcc340fixes01 (1.3.6); FILE MERGED
2004/07/22 12:56:06 hr 1.3.6.2: #i28294#: use a more idiomatic approach to resolve template class bese members/methods 2004/06/04 14:58:41 fa 1.3.6.1: #i28307# gcc 3.4 updates (must use explicit scoping)
Diffstat (limited to 'soltools/inc')
-rw-r--r--soltools/inc/st_list.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/soltools/inc/st_list.hxx b/soltools/inc/st_list.hxx
index 5cba52a02a08..2e5b441f73a8 100644
--- a/soltools/inc/st_list.hxx
+++ b/soltools/inc/st_list.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: st_list.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: svesik $ $Date: 2004-04-21 13:25:48 $
+ * last change: $Author: kz $ $Date: 2004-07-30 15:08:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -305,8 +305,8 @@ template <class XY>
DynamicList<XY>::DynamicList( const DynamicList<XY> & i_rList )
: ST_List< XY* >(i_rList)
{
- for ( typename DynamicList<XY>::iterator it = begin();
- it != end();
+ for ( typename DynamicList<XY>::iterator it = this->begin();
+ it != DynamicList<XY>::end();
++it )
{
// Copying the contents the pointers point at:
@@ -317,7 +317,7 @@ DynamicList<XY>::DynamicList( const DynamicList<XY> & i_rList )
template <class XY>
DynamicList<XY>::~DynamicList()
{
- erase_all();
+ this->erase_all();
}
template <class XY>
@@ -338,24 +338,24 @@ template <class XY>
void
DynamicList<XY>::Insert(unsigned pos, XY * const & elem)
{
- if ( pos > len )
+ if ( pos > this->len )
return;
- checkSize(len+2);
- memmove( inhalt+pos+1, inhalt+pos, (len-pos) * sizeof(XY*) );
- inhalt[pos] = elem;
- len++;
+ 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++;
}
template <class XY>
void
DynamicList<XY>::Remove( unsigned pos )
{
- if (!is_valid_index(pos) )
+ if (!this->is_valid_index(pos) )
return;
- len--;
- delete inhalt[pos];
- memmove(inhalt+pos, inhalt+pos+1, (len-pos) * sizeof(XY*) );
+ this->len--;
+ delete DynamicList<XY>::inhalt[pos];
+ memmove(DynamicList<XY>::inhalt+pos, DynamicList<XY>::inhalt+pos+1, (DynamicList<XY>::len-pos) * sizeof(XY*) );
}