From bbac3773a111069893e6522cce0ee316d5801bcf Mon Sep 17 00:00:00 2001 From: Felipe Corr??a da Silva Sanches Date: Sun, 8 Feb 2009 23:54:32 +0000 Subject: gcc warning cleanup: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: suggest a space before ‘;’ or explicit braces around empty body in 'for'/'while' statement (bzr r7251) --- src/sp-tspan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-tspan.cpp') diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index 9da95df90..89a86218e 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -207,7 +207,7 @@ static void sp_tspan_bbox(SPItem const *item, NRRect *bbox, Geom::Matrix const & { // find out the ancestor text which holds our layout SPObject *parent_text = SP_OBJECT(item); - for (; parent_text != NULL && !SP_IS_TEXT(parent_text); parent_text = SP_OBJECT_PARENT (parent_text)); + for (; parent_text != NULL && !SP_IS_TEXT(parent_text); parent_text = SP_OBJECT_PARENT (parent_text)){}; if (parent_text == NULL) return; // get the bbox of our portion of the layout -- cgit v1.2.3