summaryrefslogtreecommitdiffstats
path: root/src/kchmsearchengine_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmsearchengine_impl.cpp')
-rw-r--r--src/kchmsearchengine_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kchmsearchengine_impl.cpp b/src/kchmsearchengine_impl.cpp
index 52515c7..646f261 100644
--- a/src/kchmsearchengine_impl.cpp
+++ b/src/kchmsearchengine_impl.cpp
@@ -293,14 +293,14 @@ bool Index::parseDocumentToStringlist( const TQString & filename, TQStringList &
// Ok, we have a valid character outside HTML tags, and probably some in buffer already.
// If it is char or letter, add it and continue
- if ( ch.isLetterOrNumber() || m_charsword.tqfind( ch ) != -1 )
+ if ( ch.isLetterOrNumber() || m_charsword.find( ch ) != -1 )
{
parsedbuf.append( ch );
continue;
}
// If it is a split char, add the word to the dictionary, and then add the char itself.
- if ( m_charssplit.tqfind( ch ) != -1 )
+ if ( m_charssplit.find( ch ) != -1 )
{
if ( !parsedbuf.isEmpty() )
tokenlist.push_back( parsedbuf.lower() );
@@ -551,7 +551,7 @@ bool Index::searchForPhrases( const TQStringList &phrases, const TQStringList &w
while ( dict_it != first_word_positions.end() )
{
- if ( next_word_it.tqfind( *dict_it + 1 ) != next_word_it.end() )
+ if ( next_word_it.find( *dict_it + 1 ) != next_word_it.end() )
{
(*dict_it)++;
++dict_it;