summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-02-13 19:14:47 +0000
committerrwst <rwst@users.sourceforge.net>2006-02-13 19:14:47 +0000
commitdce08c184686d4cef1f1961926cce339429f5aba (patch)
tree58a437a00423768c653d1a90ddb5cf65bfe71efd /src/sp-flowtext.cpp
parentclosed up denial-of-service attack vector (ironically located in an (diff)
downloadinkscape-dce08c184686d4cef1f1961926cce339429f5aba.tar.gz
inkscape-dce08c184686d4cef1f1961926cce339429f5aba.zip
bulk whitespace removal patch #1198588 by gigaclon
(bzr r134)
Diffstat (limited to 'src/sp-flowtext.cpp')
-rw-r--r--src/sp-flowtext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp
index 900a3dffc..f54e60dab 100644
--- a/src/sp-flowtext.cpp
+++ b/src/sp-flowtext.cpp
@@ -172,7 +172,7 @@ sp_flowtext_update(SPObject *object, SPCtx *ctx, unsigned flags)
group->rebuildLayout();
- // pass the bbox of the flowtext object as paintbox (used for paintserver fills)
+ // pass the bbox of the flowtext object as paintbox (used for paintserver fills)
NRRect paintbox;
sp_item_invoke_bbox(group, &paintbox, NR::identity(), TRUE);
for (SPItemView *v = group->display; v != NULL; v = v->next) {
@@ -350,7 +350,7 @@ sp_flowtext_show(SPItem *item, NRArena *arena, unsigned/* key*/, unsigned /*flag
NRArenaGroup *flowed = NRArenaGroup::create(arena);
nr_arena_group_set_transparent(flowed, FALSE);
- // pass the bbox of the flowtext object as paintbox (used for paintserver fills)
+ // pass the bbox of the flowtext object as paintbox (used for paintserver fills)
NRRect paintbox;
sp_item_invoke_bbox(item, &paintbox, NR::identity(), TRUE);
group->layout.show(flowed, &paintbox);
@@ -503,7 +503,7 @@ void SPFlowtext::convert_to_text()
sp_repr_set_svg_double(repr, "y", anchor_point[NR::Y]);
for (Inkscape::Text::Layout::iterator it = group->layout.begin() ; it != group->layout.end() ; ) {
-
+
Inkscape::XML::Node *line_tspan = sp_repr_new("svg:tspan");
line_tspan->setAttribute("sodipodi:role", "line");