diff options
Diffstat (limited to 'kompare/libdiff2')
-rw-r--r-- | kompare/libdiff2/difference.h | 2 | ||||
-rw-r--r-- | kompare/libdiff2/levenshteintable.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kompare/libdiff2/difference.h b/kompare/libdiff2/difference.h index 4e440222..87b8f556 100644 --- a/kompare/libdiff2/difference.h +++ b/kompare/libdiff2/difference.h @@ -130,7 +130,7 @@ public: protected: void calculateHash() { - unsigned short const* str = reinterpret_cast<unsigned short const*>( m_string.tqunicode() ); + unsigned short const* str = reinterpret_cast<unsigned short const*>( m_string.unicode() ); const unsigned int len = m_string.length(); m_hash = 1315423911; diff --git a/kompare/libdiff2/levenshteintable.cpp b/kompare/libdiff2/levenshteintable.cpp index c031ee61..7e4ddbbe 100644 --- a/kompare/libdiff2/levenshteintable.cpp +++ b/kompare/libdiff2/levenshteintable.cpp @@ -113,8 +113,8 @@ unsigned int LevenshteinTable::createTable( DifferenceString* source, Difference unsigned int m = s.length(); unsigned int n = d.length(); - const TQChar* sq = s.tqunicode(); - const TQChar* dq = d.tqunicode(); + const TQChar* sq = s.unicode(); + const TQChar* dq = d.unicode(); if ( m == 1 ) return --n; |