summaryrefslogtreecommitdiffstats
path: root/src/sp-tspan.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2009-02-08 23:54:32 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2009-02-08 23:54:32 +0000
commitbbac3773a111069893e6522cce0ee316d5801bcf (patch)
tree5dfd373c1c713136533647bfeb5066a654c25113 /src/sp-tspan.cpp
parentscale x-axis-rotation angle in elliptical arc (diff)
downloadinkscape-bbac3773a111069893e6522cce0ee316d5801bcf.tar.gz
inkscape-bbac3773a111069893e6522cce0ee316d5801bcf.zip
gcc warning cleanup:
warning: suggest a space before ‘;’ or explicit braces around empty body in 'for'/'while' statement (bzr r7251)
Diffstat (limited to 'src/sp-tspan.cpp')
-rw-r--r--src/sp-tspan.cpp2
1 files changed, 1 insertions, 1 deletions
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