this should be better

svn path=/trunk/playground/graphics/okular/; revision=616243
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 25cec88b81
commit 6db5e75a00
  1. 3
      core/area.h

@ -482,8 +482,7 @@ bool RegularArea<NormalizedShape, Shape>::contains( const NormalizedShape& shape
if ( this->isEmpty() )
return false;
const QList<NormalizedShape*> * const list = dynamic_cast<const QList<NormalizedShape*> * const >( this );
return list->contains( shape );
return QList<NormalizedShape>::contains( shape );
}
template <class NormalizedShape, class Shape>

Loading…
Cancel
Save