summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-measure-segments.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-29 22:12:42 +0000
committerMarc Jeanmougin <marc.jeanmougin@telecom-paristech.fr>2018-04-29 22:12:42 +0000
commitbba4ff6672494fab59286b50f6c645ad62a47e60 (patch)
treec357b8add3334ef1df340d4eb433404857c27e7d /src/live_effects/lpe-measure-segments.cpp
parentFix test (diff)
downloadinkscape-bba4ff6672494fab59286b50f6c645ad62a47e60.tar.gz
inkscape-bba4ff6672494fab59286b50f6c645ad62a47e60.zip
Fix include order with clang-tidy check llvm-include-order
Diffstat (limited to 'src/live_effects/lpe-measure-segments.cpp')
-rw-r--r--src/live_effects/lpe-measure-segments.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/live_effects/lpe-measure-segments.cpp b/src/live_effects/lpe-measure-segments.cpp
index 5f62f0281..0c911b532 100644
--- a/src/live_effects/lpe-measure-segments.cpp
+++ b/src/live_effects/lpe-measure-segments.cpp
@@ -10,36 +10,36 @@
*/
#include "live_effects/lpeobject.h"
-#include "live_effects/lpeobject-reference.h"
-#include "live_effects/lpe-measure-segments.h"
#include "2geom/affine.h"
#include "2geom/angle.h"
#include "2geom/point.h"
#include "2geom/ray.h"
#include "display/curve.h"
+#include "document-undo.h"
+#include "document.h"
#include "helper/geom.h"
-#include "text-editing.h"
+#include "inkscape.h"
+#include "libnrtype/Layout-TNG.h"
+#include "live_effects/lpe-measure-segments.h"
+#include "live_effects/lpeobject-reference.h"
#include "object/sp-defs.h"
-#include "object/sp-text.h"
#include "object/sp-flowtext.h"
#include "object/sp-item-group.h"
#include "object/sp-item.h"
#include "object/sp-path.h"
#include "object/sp-root.h"
#include "object/sp-shape.h"
+#include "object/sp-text.h"
+#include "path-chemistry.h"
+#include "preferences.h"
#include "svg/stringstream.h"
-#include "svg/svg.h"
#include "svg/svg-color.h"
#include "svg/svg-length.h"
+#include "svg/svg.h"
+#include "text-editing.h"
#include "util/units.h"
#include "xml/node.h"
#include "xml/sp-css-attr.h"
-#include "libnrtype/Layout-TNG.h"
-#include "document.h"
-#include "document-undo.h"
-#include "inkscape.h"
-#include "preferences.h"
-#include "path-chemistry.h"
#include <cmath>
#include <iomanip>
@@ -428,7 +428,7 @@ LPEMeasureSegments::createTextLabel(Geom::Point pos, size_t counter, double leng
font_size << fontsize << "pt";
setlocale (LC_NUMERIC, locale_base);
gchar c[32];
- sprintf(c, "#%06x", rgb24);
+ sprintf(c, "#%06lx", rgb24);
sp_repr_css_set_property (css, "fill",c);
Inkscape::SVGOStringStream os;
os << SP_RGBA32_A_F(coloropacity.get_value());
@@ -626,7 +626,7 @@ LPEMeasureSegments::createLine(Geom::Point start,Geom::Point end, Glib::ustring
style += "stroke-width:";
style += stroke_w.str();
gchar c[32];
- sprintf(c, "#%06x", rgb24);
+ sprintf(c, "#%06lx", rgb24);
style += ";stroke:";
style += Glib::ustring(c);
Inkscape::SVGOStringStream os;