diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-25 12:23:17 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-25 14:13:47 +0200 |
commit | 2dc5faa3b3c5dfe31fa8e759323469ef7c9fed3a (patch) | |
tree | 9b5fbd024fd1c94a4d701801836f7dec60f288c8 /svl | |
parent | 0031210b26bfae38be4243f9c92d90fa213b9eb0 (diff) |
move SvStringsISortDtor to editeng/svxacorr.hxx
Change-Id: I4465281396f44f53ba87db0a405586294ea65076
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/svstdarr.hxx | 16 | ||||
-rw-r--r-- | svl/source/memtools/svarray.cxx | 6 |
2 files changed, 0 insertions, 22 deletions
diff --git a/svl/inc/svl/svstdarr.hxx b/svl/inc/svl/svstdarr.hxx index 66fc0fd7a24b..c213b6c45c9f 100644 --- a/svl/inc/svl/svstdarr.hxx +++ b/svl/inc/svl/svstdarr.hxx @@ -31,25 +31,9 @@ #include <deque> #include <tools/string.hxx> -#include <o3tl/sorted_vector.hxx> typedef String* StringPtr; -#ifndef _SVSTDARR_STRINGSISORTDTOR_DECL - -struct SVL_DLLPUBLIC CompareSvStringsISortDtor -{ - bool operator()( String* const& lhs, String* const& rhs ) const; -}; -class SVL_DLLPUBLIC SvStringsISortDtor : public o3tl::sorted_vector<String*, CompareSvStringsISortDtor > -{ -public: - ~SvStringsISortDtor() { DeleteAndDestroyAll(); } -}; - -#define _SVSTDARR_STRINGSISORTDTOR_DECL -#endif - typedef std::deque< xub_StrLen > SvXub_StrLens; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/source/memtools/svarray.cxx b/svl/source/memtools/svarray.cxx index 98e7f2a93495..4ea8ac6b5bc3 100644 --- a/svl/source/memtools/svarray.cxx +++ b/svl/source/memtools/svarray.cxx @@ -28,10 +28,4 @@ sal_uInt16 SvPtrarr::GetPos( const VoidPtr& aElement ) const return ( n >= nA ? USHRT_MAX : n ); } - -bool CompareSvStringsISortDtor::operator()( String* const& lhs, String* const& rhs ) const -{ - return lhs->CompareIgnoreCaseToAscii( *rhs ) == COMPARE_LESS; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |