summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_map.cc')
-rw-r--r--kspread/kspread_map.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_map.cc b/kspread/kspread_map.cc
index 032fd13c..7d55a8ff 100644
--- a/kspread/kspread_map.cc
+++ b/kspread/kspread_map.cc
@@ -107,8 +107,8 @@ void Map::moveSheet( const TQString & _from, const TQString & _to, bool _before
Sheet* sheetfrom = findSheet( _from );
Sheet* sheetto = findSheet( _to );
- int from = m_lstSheets.tqfind( sheetfrom ) ;
- int to = m_lstSheets.tqfind( sheetto ) ;
+ int from = m_lstSheets.find( sheetfrom ) ;
+ int to = m_lstSheets.find( sheetto ) ;
if ( !_before )
++to;
@@ -475,14 +475,14 @@ DCOPObject * Map::dcopObject()
void Map::takeSheet( Sheet * sheet )
{
- int pos = m_lstSheets.tqfindRef( sheet );
+ int pos = m_lstSheets.findRef( sheet );
m_lstSheets.take( pos );
m_lstDeletedSheets.append( sheet );
}
void Map::insertSheet( Sheet * sheet )
{
- int pos = m_lstDeletedSheets.tqfindRef( sheet );
+ int pos = m_lstDeletedSheets.findRef( sheet );
if ( pos != -1 )
m_lstDeletedSheets.take( pos );
m_lstSheets.append(sheet);