diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-18 20:19:55 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-18 20:19:55 +0000 |
| commit | dce3466274e04364e25c47b0b71007a65c9cf9dd (patch) | |
| tree | 37d21bcfbc010d83221de713fb83d6e15e1546cf /src/svg/svg-length.cpp | |
| parent | Fix accidental regression in previous commit (diff) | |
| download | inkscape-dce3466274e04364e25c47b0b71007a65c9cf9dd.tar.gz inkscape-dce3466274e04364e25c47b0b71007a65c9cf9dd.zip | |
Code cleanup.
(bzr r13341.1.145)
Diffstat (limited to 'src/svg/svg-length.cpp')
| -rw-r--r-- | src/svg/svg-length.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/svg/svg-length.cpp b/src/svg/svg-length.cpp index b9e8e6340..b9b475f4b 100644 --- a/src/svg/svg-length.cpp +++ b/src/svg/svg-length.cpp @@ -1,6 +1,4 @@ -#define __SP_SVG_LENGTH_C__ - -/* +/** * SVG data parser * * Authors: @@ -12,20 +10,15 @@ * This code is in public domain */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - +#include <cmath> #include <cstring> #include <string> -#include <math.h> #include <glib.h> #include "svg.h" #include "stringstream.h" #include "util/units.h" - static unsigned sp_svg_length_read_lff(gchar const *str, SVGLength::Unit *unit, float *val, float *computed, char **next); #ifndef MAX @@ -570,4 +563,4 @@ void SVGLength::readOrUnset(gchar const *str, Unit u, float v, float c) fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8 : |
