From ce7d96dd9683377c3b85be27c63e4dee5ce3caa4 Mon Sep 17 00:00:00 2001 From: Mailson Menezes Date: Thu, 15 Nov 2012 21:11:45 -0300 Subject: [PATCH] Assert the request have a valid normalized rect --- core/document.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/document.cpp b/core/document.cpp index d911c46c6..6d201cdc7 100644 --- a/core/document.cpp +++ b/core/document.cpp @@ -1101,6 +1101,7 @@ void DocumentPrivate::sendGeneratorPixmapRequest() // Change normalizedRect to the smallest rect that contains all // visible tiles. + Q_ASSERT( !r->normalizedRect().isNull() ) if ( !r->normalizedRect().isNull() ) { NormalizedRect tilesRect;