diff options
author | Brad Sowden <code@sowden.org> | 2011-12-29 22:31:12 +1300 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-04 13:49:11 +0100 |
commit | 2004a9920e1cef4ac208f14453c1bc8ad80b7c77 (patch) | |
tree | 9f790d7956e8d42353f9d5733d59b76de61eb4e6 /svl | |
parent | 9da30d99715466cf161da283caaf2faadfc7e5d9 (diff) |
Easyhack fdo#38831 remove SvStrings
Remove SvStrings definition and obsolete #defines.
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/svarray.hxx | 2 | ||||
-rw-r--r-- | svl/inc/svl/svstdarr.hxx | 8 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 1 | ||||
-rw-r--r-- | svl/source/memtools/svarray.cxx | 2 |
4 files changed, 2 insertions, 11 deletions
diff --git a/svl/inc/svl/svarray.hxx b/svl/inc/svl/svarray.hxx index 4c8d077421ec..47b80631b5ec 100644 --- a/svl/inc/svl/svarray.hxx +++ b/svl/inc/svl/svarray.hxx @@ -81,7 +81,7 @@ * Sortierung mit Hilfe der Object-operatoren "<" und "==" * * JP 09.10.96: vordefinierte Arrays: -* PtrArr: SvStrings, SvStringsDtor +* PtrArr: SvStringsDtor * SortArr: SvStringsSort, SvStringsSortDtor, * SvStringsISort, SvStringsISortDtor ***********************************************************************/ diff --git a/svl/inc/svl/svstdarr.hxx b/svl/inc/svl/svstdarr.hxx index 54f6d2abac8f..1d1b6e825713 100644 --- a/svl/inc/svl/svstdarr.hxx +++ b/svl/inc/svl/svstdarr.hxx @@ -32,7 +32,7 @@ * (die defines setzen sich aus "_SVSTDARR_" und dem Namen des Array * ohne "Sv" zusammen) * -* PtrArr: SvStrings, SvStringsDtor +* PtrArr: SvStringsDtor * SortArr: SvStringsSort, SvStringsSortDtor, * SvStringsISort, SvStringsISortDtor, ***********************************************************************/ @@ -45,12 +45,6 @@ typedef String* StringPtr; - -#ifndef _SVSTDARR_STRINGS_DECL -SV_DECL_PTRARR_VISIBILITY( SvStrings, StringPtr, 1, 1, SVL_DLLPUBLIC ) -#define _SVSTDARR_STRINGS_DECL -#endif - #ifndef _SVSTDARR_STRINGSDTOR_DECL SV_DECL_PTRARR_DEL_VISIBILITY( SvStringsDtor, StringPtr, 1, 1, SVL_DLLPUBLIC ) #define _SVSTDARR_STRINGSDTOR_DECL diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 75cbdd60a9df..337af7cef007 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/lang/XComponent.hpp> -#define _SVSTDARR_STRINGS #define _SVSTDARR_STRINGSSORTDTOR #define _SVSTDARR_BYTESTRINGS #define _SVSTDARR_BYTESTRINGSSORTDTOR diff --git a/svl/source/memtools/svarray.cxx b/svl/source/memtools/svarray.cxx index 89f6ab173cfc..33023214df08 100644 --- a/svl/source/memtools/svarray.cxx +++ b/svl/source/memtools/svarray.cxx @@ -30,7 +30,6 @@ #define _SVARRAY_CXX #define _SVSTDARR_sal_uInt16S -#define _SVSTDARR_STRINGS #define _SVSTDARR_STRINGSDTOR #define _SVSTDARR_STRINGSSORT #define _SVSTDARR_STRINGSSORTDTOR @@ -59,7 +58,6 @@ sal_uInt16 SvPtrarr::GetPos( const VoidPtr& aElement ) const return ( n >= nA ? USHRT_MAX : n ); } -SV_IMPL_PTRARR( SvStrings, StringPtr ) SV_IMPL_PTRARR( SvStringsDtor, StringPtr ) // ---------------- strings ------------------------------------- |