From cc5fd88be313142d3996c81f8bdfc1290485858c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 2 Oct 2014 18:38:22 -0500 Subject: Don't use insane (negative) layout values if layout engine does not allocate sufficient space for a text string This resolves Bug 1950 Make most debugging statements work again Add new debugging statements Fix several annoying build warnings --- tdehtml/rendering/render_object.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'tdehtml/rendering/render_object.h') diff --git a/tdehtml/rendering/render_object.h b/tdehtml/rendering/render_object.h index bf120ff84..325a24024 100644 --- a/tdehtml/rendering/render_object.h +++ b/tdehtml/rendering/render_object.h @@ -334,10 +334,8 @@ public: m_minMaxKnown = b; if ( !b ) { RenderObject *o = this; - RenderObject *root = this; while( o ) { // ### && !o->m_recalcMinMax ) { o->m_recalcMinMax = true; - root = o; o = o->m_parent; } } -- cgit v1.2.1