summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrCommand.cpp')
-rw-r--r--kpresenter/KPrCommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpresenter/KPrCommand.cpp b/kpresenter/KPrCommand.cpp
index 491976cc..5236aaf6 100644
--- a/kpresenter/KPrCommand.cpp
+++ b/kpresenter/KPrCommand.cpp
@@ -668,7 +668,7 @@ void KPrInsertCmd::unexecute()
{
TQRect oldRect = m_doc->zoomHandler()->zoomRect( m_object->getRepaintRect() );
TQPtrList<KPrObject> list(m_page->objectList());
- if ( list.tqfindRef( m_object ) != -1 ) {
+ if ( list.findRef( m_object ) != -1 ) {
m_page->takeObject( m_object );
m_object->removeFromObjList();
if ( m_object->getType() == OT_TEXT )
@@ -688,7 +688,7 @@ void KPrInsertCmd::unexecute()
TQValueListConstIterator<KPrObject *> it( m_objects.begin() );
for ( ; it != m_objects.end(); ++it )
{
- if ( list.tqfindRef( *it ) != -1 )
+ if ( list.findRef( *it ) != -1 )
{
m_page->takeObject( *it );
( *it )->removeFromObjList();