summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-02-25 06:48:54 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-02-25 06:48:54 +0000
commit235e0557710fbd010aeb0db31ab719cc142885ae (patch)
treef847bf164cd6d5e9a6dedc96d39406fc0b428c83 /src/sp-text.cpp
parentavoid some Shape calculations that are not relevant to visual bbox (Bug 906952) (diff)
downloadinkscape-235e0557710fbd010aeb0db31ab719cc142885ae.tar.gz
inkscape-235e0557710fbd010aeb0db31ab719cc142885ae.zip
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r11011)
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index 21c380477..f930bb636 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -702,7 +702,7 @@ void TextTagAttributes::writeSingleAttribute(Inkscape::XML::Node *node, gchar co
gchar single_value_string[32];
// FIXME: this has no concept of unset values because sp_svg_length_list_read() can't read them back in
- for (std::vector<SVGLength>::const_iterator it = attr_vector.begin() ; it != attr_vector.end() ; it++) {
+ for (std::vector<SVGLength>::const_iterator it = attr_vector.begin() ; it != attr_vector.end() ; ++it) {
g_ascii_formatd(single_value_string, sizeof (single_value_string), "%.8g", it->computed);
if (!string.empty()) string += ' ';
string += single_value_string;