diff options
Diffstat (limited to 'cosv/source/strings/string.cxx')
-rw-r--r-- | cosv/source/strings/string.cxx | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/cosv/source/strings/string.cxx b/cosv/source/strings/string.cxx index 5d5d3d11..2de64f88 100644 --- a/cosv/source/strings/string.cxx +++ b/cosv/source/strings/string.cxx @@ -223,23 +223,6 @@ compare( const String & i_s1, } int -compare( const char * i_s1, - const String & i_s2, - csv::str::position i_nStartPosition2, - csv::str::size i_nLength ) -{ - const char * pS2 = str_from_StringOffset( i_s2, i_nStartPosition2 ); - - if ( i_nLength != csv::str::maxsize ) - return strncmp( i_s1, - pS2, - i_nLength ); - else - return strcmp( i_s1, - pS2 ); -} - -int compare( const CharOrder_Table & i_rOrder, const char * i_s1, const char * i_s2 ) @@ -252,46 +235,6 @@ compare( const CharOrder_Table & i_rOrder, } int -compare( const CharOrder_Table & i_rOrder, - const String & i_s1, - csv::str::position i_nStartPosition1, - const char * i_s2, - csv::str::size i_nLength ) -{ - const char * pS1 = str_from_StringOffset( i_s1, i_nStartPosition1 ); - - if ( i_nLength != csv::str::maxsize ) - return compare( i_rOrder, - pS1, - i_s2, - i_nLength ); - else - return compare( i_rOrder, - pS1, - i_s2 ); -} - -int -compare( const CharOrder_Table & i_rOrder, - const char * i_s1, - const String & i_s2, - csv::str::position i_nStartPosition2, - csv::str::size i_nLength ) -{ - const char * pS2 = str_from_StringOffset( i_s2, i_nStartPosition2 ); - - if ( i_nLength != csv::str::maxsize ) - return compare( i_rOrder, - i_s1, - pS2, - i_nLength ); - else - return compare( i_rOrder, - i_s1, - pS2 ); -} - -int compare( const CharOrder_Table & i_rOrder, const char * i_s1, const char * i_s2, @@ -310,9 +253,6 @@ compare( const CharOrder_Table & i_rOrder, return 0; } - - - } // namespace csv /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |