diff options
| author | Felipe Corr??a da Silva Sanches <juca@members.fsf.org> | 2009-02-08 23:54:32 +0000 |
|---|---|---|
| committer | JucaBlues <JucaBlues@users.sourceforge.net> | 2009-02-08 23:54:32 +0000 |
| commit | bbac3773a111069893e6522cce0ee316d5801bcf (patch) | |
| tree | 5dfd373c1c713136533647bfeb5066a654c25113 /src/text-editing.cpp | |
| parent | scale x-axis-rotation angle in elliptical arc (diff) | |
| download | inkscape-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 '')
| -rw-r--r-- | src/text-editing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp index 482f6faeb..2ccc91195 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -779,7 +779,7 @@ sp_te_delete (SPItem *item, Inkscape::Text::Layout::iterator const &start, } } - while (tidy_xml_tree_recursively(common_ancestor)); + while (tidy_xml_tree_recursively(common_ancestor)){}; te_update_layout_now(item); item->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG); layout->validateIterator(&iter_pair.first); @@ -1828,7 +1828,7 @@ void sp_te_apply_style(SPItem *text, Inkscape::Text::Layout::iterator const &sta and neither option can be made to work, a fallback could be to reduce everything to a single level of nesting and drop all pretence of roundtrippability. */ - while (tidy_xml_tree_recursively(common_ancestor)); + while (tidy_xml_tree_recursively(common_ancestor)){}; // if we only modified subobjects this won't have been automatically sent text->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG); |
