[Libreoffice-commits] .: cosv/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 29 03:17:59 PDT 2011
cosv/source/strings/string.cxx | 19 -------------------
1 file changed, 19 deletions(-)
New commits:
commit 82ff3352e8df5352cd340bfa0cbdca06879bea41
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 29 09:28:34 2011 +0100
ditch unused compare
diff --git a/cosv/source/strings/string.cxx b/cosv/source/strings/string.cxx
index 2de64f8..a7e1127 100644
--- a/cosv/source/strings/string.cxx
+++ b/cosv/source/strings/string.cxx
@@ -234,25 +234,6 @@ compare( const CharOrder_Table & i_rOrder,
return int( i_rOrder(*it1) - i_rOrder(*it2) );
}
-int
-compare( const CharOrder_Table & i_rOrder,
- const char * i_s1,
- const char * i_s2,
- csv::str::size i_nLength )
-{
- const char * sEnd = i_s1 + i_nLength;
-
- const char * it1 = i_s1;
- const char * it2 = i_s2;
- for ( ; i_rOrder(*it1) == i_rOrder(*it2) AND *it1 != '\0' AND it1 != sEnd; ++it1, ++it2 )
- {}
-
- if ( it1 != sEnd )
- return int( i_rOrder(*it1) - i_rOrder(*it2) );
- else
- return 0;
-}
-
} // namespace csv
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list