diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-10 00:07:32 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-10 00:07:32 +0400 |
commit | 1cbe4dd0c24fb5ff58ab193d7ae4e93ee5e3ca97 (patch) | |
tree | 6514b0983e84756c2fcfa3b4eb71911a395b714a /src/DSUtil/text.cpp | |
parent | 648340f0859ebe73365e2e6c1d9b3b1a859bb0d5 (diff) |
remove unused code
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4663 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/text.cpp')
-rw-r--r-- | src/DSUtil/text.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/DSUtil/text.cpp b/src/DSUtil/text.cpp index bc32ddf17..3b626120c 100644 --- a/src/DSUtil/text.cpp +++ b/src/DSUtil/text.cpp @@ -232,16 +232,3 @@ CAtlList<CString>& MakeUpper(CAtlList<CString>& sl) return sl;
}
-CAtlList<CString>& RemoveStrings(CAtlList<CString>& sl, int minlen, int maxlen)
-{
- POSITION pos = sl.GetHeadPosition();
- while (pos) {
- POSITION tmp = pos;
- CString& str = sl.GetNext(pos);
- int len = str.GetLength();
- if (len < minlen || len > maxlen) {
- sl.RemoveAt(tmp);
- }
- }
- return sl;
-}
|