summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_style_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_style_manager.cc')
-rw-r--r--kspread/kspread_style_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_style_manager.cc b/kspread/kspread_style_manager.cc
index 1d570e95..61ca5711 100644
--- a/kspread/kspread_style_manager.cc
+++ b/kspread/kspread_style_manager.cc
@@ -244,7 +244,7 @@ void StyleManager::createBuiltinStyles()
CustomStyle * StyleManager::style( TQString const & name ) const
{
- Styles::const_iterator iter( m_styles.tqfind( name ) );
+ Styles::const_iterator iter( m_styles.find( name ) );
if ( iter != m_styles.end() )
return iter.data();
@@ -270,7 +270,7 @@ void StyleManager::takeStyle( CustomStyle * style )
++iter;
}
- Styles::iterator i( m_styles.tqfind( style->name() ) );
+ Styles::iterator i( m_styles.find( style->name() ) );
if ( i != m_styles.end() )
{
@@ -322,7 +322,7 @@ void StyleManager::changeName( TQString const & oldName, TQString const & newNam
++iter;
}
- iter = m_styles.tqfind( oldName );
+ iter = m_styles.find( oldName );
if ( iter != end )
{
CustomStyle * s = iter.data();
@@ -366,7 +366,7 @@ TQDict<Style> StyleManager::loadOasisAutoStyles( KoOasisStyles& oasisStyles )
if ( it.current()->hasAttributeNS( KoXmlNS::style, "tqparent-style-name" ) )
{
TQString parentStyleName = it.current()->attributeNS( KoXmlNS::style, "tqparent-style-name", TQString() );
- if ( m_oasisStyles.tqcontains( parentStyleName ) )
+ if ( m_oasisStyles.contains( parentStyleName ) )
{
autoStyles[name]->setParent( m_oasisStyles[parentStyleName] );
}