summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-02-28 16:43:17 +0000
committerHerbert Dürr <hdu@apache.org>2013-02-28 16:43:17 +0000
commit89cb2483eda8193b39265e36e10cae69afb54c5a (patch)
tree68841769480a47be1546e9385ae17410d74d0083 /svl
parent0596b2eafc7fdec5c2dba7ecf41d19ae5c39eeee (diff)
svarray has outlived ancient C++ compilers
Notes
ignore: obsolete
Diffstat (limited to 'svl')
-rw-r--r--svl/inc/svl/svarray.hxx20
1 files changed, 6 insertions, 14 deletions
diff --git a/svl/inc/svl/svarray.hxx b/svl/inc/svl/svarray.hxx
index 3e6b3298c48a..d7cd33c35124 100644
--- a/svl/inc/svl/svarray.hxx
+++ b/svl/inc/svl/svarray.hxx
@@ -25,6 +25,12 @@
#define _SVARRAY_HXX
#if 0
+// Nobody wants to touch this code, not even with a ten-foot pole.
+// If one has to read it then the following mapping might be useful:
+// "nm" seems to be "type name" of the array
+// "AE" means "type of array element"
+// "IS" means "initial size", i.e. the initial number of elements
+// "GS" means "growth size"
***********************************************************************
*
* Hier folgt die Beschreibung fuer die exportierten Makros:
@@ -763,23 +769,9 @@ SV_IMPL_VARARR(nm##_SAR, AE)\
_SV_IMPL_SORTAR_ALG( nm,AE )\
_SV_SEEK_OBJECT( nm,AE )
-#if defined (C40) || defined (C41) || defined (C42) || defined(C50) || defined(C52)
-#define C40_INSERT( c, p, n) Insert( (c const *) p, n )
-#define C40_PTR_INSERT( c, p) Insert( (c const *) p )
-#define C40_REPLACE( c, p, n) Replace( (c const *) p, n )
-#define C40_GETPOS( c, r) GetPos( (c const *)r )
-#else
-#if defined WTC || defined ICC || defined HPUX || (defined GCC && __GNUC__ >= 3) || (defined(WNT) && _MSC_VER >= 1400)
#define C40_INSERT( c, p, n ) Insert( (c const *&) p, n )
#define C40_PTR_INSERT( c, p ) Insert( (c const *&) p )
#define C40_REPLACE( c, p, n ) Replace( (c const *&) p, n )
#define C40_GETPOS( c, r) GetPos( (c const *&) r )
-#else
-#define C40_INSERT( c, p, n ) Insert( p, n )
-#define C40_PTR_INSERT( c, p ) Insert( p )
-#define C40_REPLACE( c, p, n ) Replace( p, n )
-#define C40_GETPOS( c, r) GetPos( r )
-#endif
-#endif
#endif //_SVARRAY_HXX