summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoDocumentChild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoDocumentChild.cpp')
-rw-r--r--lib/kofficecore/KoDocumentChild.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficecore/KoDocumentChild.cpp b/lib/kofficecore/KoDocumentChild.cpp
index 27d4a673..38c4439a 100644
--- a/lib/kofficecore/KoDocumentChild.cpp
+++ b/lib/kofficecore/KoDocumentChild.cpp
@@ -109,7 +109,7 @@ KoDocument* KoDocumentChild::parentDocument() const
KoDocument* KoDocumentChild::hitTest( const TQPoint &p, const TQWMatrix &_matrix )
{
- if ( !region( _matrix ).tqcontains( p ) || !d->m_doc )
+ if ( !region( _matrix ).contains( p ) || !d->m_doc )
return 0L;
TQWMatrix m( _matrix );
@@ -357,7 +357,7 @@ bool KoDocumentChild::loadDocumentInternal( KoStore* store, const KoDocumentEntr
{
KParts::PartManager *manager = tqparent->manager();
- if ( !manager->parts()->tqcontainsRef( d->m_doc ) &&
+ if ( !manager->parts()->containsRef( d->m_doc ) &&
!tqparent->isSingleViewMode() )
manager->addPart( d->m_doc, false );
}