diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-03-07 17:19:18 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-03-07 17:19:18 +0000 |
| commit | 2eb76fb0bd4b8572866d3c2390eaa82747890292 (patch) | |
| tree | 673eb8fdedd2cc54fd48347fb59cc5e1e20f8508 /src/svg/svg-path.cpp | |
| parent | Translations. Greek translation update by Dimitris Spingos. (diff) | |
| download | inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.tar.gz inkscape-2eb76fb0bd4b8572866d3c2390eaa82747890292.zip | |
cppcheck
(bzr r11052)
Diffstat (limited to 'src/svg/svg-path.cpp')
| -rw-r--r-- | src/svg/svg-path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp index 3f3b944ff..135f9ff75 100644 --- a/src/svg/svg-path.cpp +++ b/src/svg/svg-path.cpp @@ -64,7 +64,7 @@ Geom::PathVector sp_svg_read_pathv(char const * str) try { Geom::parse_svg_path(str, generator); } - catch (Geom::SVGPathParseError e) { + catch (Geom::SVGPathParseError &e) { generator.finish(); // This warning is extremely annoying when testing //g_warning("Malformed SVG path, truncated path up to where error was found.\n Input path=\"%s\"\n Parsed path=\"%s\"", str, sp_svg_write_path(pathv)); |
