From 6db5e75a00e8fe2cfdd88cb77911048c86dff2c2 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 24 Dec 2006 14:40:49 +0000 Subject: [PATCH] this should be better svn path=/trunk/playground/graphics/okular/; revision=616243 --- core/area.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/area.h b/core/area.h index 6c5fa324c..6c2fb7c4d 100644 --- a/core/area.h +++ b/core/area.h @@ -482,8 +482,7 @@ bool RegularArea::contains( const NormalizedShape& shape if ( this->isEmpty() ) return false; - const QList * const list = dynamic_cast * const >( this ); - return list->contains( shape ); + return QList::contains( shape ); } template