summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2011-10-23 21:35:00 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-10-24 00:16:18 +0400
commita47a5ed0a5ffd948d48e02e5a9f0e2064096e7d4 (patch)
treeab094a16e307b04fe9c7815f2e4ba04efd612265 /tools/source
parent3d5caa7ce38c9441d05b01c6feaaaa5ff3bd51de (diff)
always explicitly handle empty string of ranges
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/memtools/multisel.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx
index 13275a863673..68a9eacfa3c0 100644
--- a/tools/source/memtools/multisel.cxx
+++ b/tools/source/memtools/multisel.cxx
@@ -831,16 +831,6 @@ bool StringRangeEnumerator::setRange( const rtl::OUString& i_rNewRange, bool i_b
mnCount = 0;
maSequence.clear();
- // we love special cases
- if( i_rNewRange.getLength() == 0 )
- {
- if( mnMin >= 0 && mnMax >= 0 )
- {
- insertRange( mnMin, mnMax, mnMin != mnMax, ! i_bStrict );
- }
- return true;
- }
-
const sal_Unicode* pInput = i_rNewRange.getStr();
rtl::OUStringBuffer aNumberBuf( 16 );
std::vector< sal_Int32 > aNumbers;