summaryrefslogtreecommitdiffstats
path: root/kword/KWPageManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWPageManager.cpp')
-rw-r--r--kword/KWPageManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kword/KWPageManager.cpp b/kword/KWPageManager.cpp
index 7058e5ac..9dc797a6 100644
--- a/kword/KWPageManager.cpp
+++ b/kword/KWPageManager.cpp
@@ -224,7 +224,7 @@ KoPoint KWPageManager::clipToDocument(const KoPoint &point) {
}
page = TQMIN(page, lastPageNumber());
KoRect rect = this->page(page)->rect();
- if(rect.tqcontains(point))
+ if(rect.contains(point))
return point;
KoPoint rc(point);