diff options
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
| -rw-r--r-- | lib/kofficecore/KoOasisStyles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp index d135a501a..fe4ee658e 100644 --- a/lib/kofficecore/KoOasisStyles.cpp +++ b/lib/kofficecore/KoOasisStyles.cpp @@ -180,7 +180,7 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles ) if ( styleAutoStyles ) { TQDict<TQDomElement>& dict = d->m_stylesAutoStyles[ family ]; dict.setAutoDelete( true ); - if ( dict.tqfind( name ) != 0 ) + if ( dict.find( name ) != 0 ) kdDebug(30003) << "Auto-style: '" << name << "' already exists" << endl; dict.insert( name, new TQDomElement( e ) ); //kdDebug(30003) << "Style: '" << name << "' loaded as a style auto style" << endl; @@ -188,7 +188,7 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles ) TQDict<TQDomElement>& dict = d->m_styles[ family ]; dict.setAutoDelete( true ); - if ( dict.tqfind( name ) != 0 ) + if ( dict.find( name ) != 0 ) kdDebug(30003) << "Style: '" << name << "' already exists" << endl; dict.insert( name, new TQDomElement( e ) ); //kdDebug(30003) << "Style: '" << name << "' loaded " << endl; @@ -198,7 +198,7 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles ) || localName == "font-decl" || localName == "presentation-page-tqlayout" ) ) { - if ( m_styles.tqfind( name ) != 0 ) + if ( m_styles.find( name ) != 0 ) kdDebug(30003) << "Style: '" << name << "' already exists" << endl; m_styles.insert( name, new TQDomElement( e ) ); } else if ( localName == "default-style" && ns == KoXmlNS::style ) { |
