summaryrefslogtreecommitdiffstats
path: root/debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp')
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp b/debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp
deleted file mode 100644
index 5790f967..00000000
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/src/text.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-#include "src/impl.h"
-
-namespace mp4v2 { namespace impl {
-
-///////////////////////////////////////////////////////////////////////////////
-
-bool
-LessIgnoreCase::operator()( const string& xstr, const string& ystr ) const
-{
- const string::size_type xlen = xstr.length();
- const string::size_type ylen = ystr.length();
-
- if( xlen < ylen ) {
- for( string::size_type i = 0; i < xlen; i++ ) {
- const char x = std::toupper( xstr[i] );
- const char y = std::toupper( ystr[i] );
-
- if( x < y )
- return true;
- else if ( x > y )
- return false;
- }
- return true;
- }
- else {
- for( string::size_type i = 0; i < ylen; i++ ) {
- const char x = std::toupper( xstr[i] );
- const char y = std::toupper( ystr[i] );
-
- if( x < y )
- return true;
- else if ( x > y )
- return false;
- }
- return false;
- }
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-}} // namespace mp4v2::impl