diff --git a/include/mapnik/agg_helpers.hpp b/include/mapnik/agg_helpers.hpp index aa13729d4..e605194fe 100644 --- a/include/mapnik/agg_helpers.hpp +++ b/include/mapnik/agg_helpers.hpp @@ -71,7 +71,7 @@ void set_join_caps(Stroke const& stroke_, PathType & stroke) default: stroke.generator().line_join(agg::bevel_join); } - + line_cap_e cap=stroke_.get_line_cap(); switch (cap) { @@ -85,7 +85,7 @@ void set_join_caps(Stroke const& stroke_, PathType & stroke) stroke.generator().line_cap(agg::round_cap); } } - + } #endif //MAPNIK_AGG_HELPERS_HPP diff --git a/include/mapnik/font_engine_freetype.hpp b/include/mapnik/font_engine_freetype.hpp index 5b4b87b40..a08a6454d 100644 --- a/include/mapnik/font_engine_freetype.hpp +++ b/include/mapnik/font_engine_freetype.hpp @@ -169,12 +169,12 @@ public: glyph_ptr get_glyph(unsigned c) const { - BOOST_FOREACH ( face_ptr const& face, faces_) + BOOST_FOREACH ( face_ptr const& face, faces_) { FT_UInt g = face->get_char(c); if (g) return boost::make_shared(face, g); } - + // Final fallback to empty square if nothing better in any font return boost::make_shared(*faces_.begin(), 0); } @@ -185,7 +185,7 @@ public: void set_pixel_sizes(unsigned size) { - BOOST_FOREACH ( face_ptr const& face, faces_) + BOOST_FOREACH ( face_ptr const& face, faces_) { face->set_pixel_sizes(size); } @@ -193,7 +193,7 @@ public: void set_character_sizes(float size) { - BOOST_FOREACH ( face_ptr const& face, faces_) + BOOST_FOREACH ( face_ptr const& face, faces_) { face->set_character_sizes(size); } diff --git a/include/mapnik/line_symbolizer.hpp b/include/mapnik/line_symbolizer.hpp index bcb3ab971..29634db1a 100644 --- a/include/mapnik/line_symbolizer.hpp +++ b/include/mapnik/line_symbolizer.hpp @@ -83,12 +83,12 @@ struct MAPNIK_DECL line_symbolizer : public symbolizer_base { smooth_ = smooth; } - + double smooth() const { return smooth_; } - + private: stroke stroke_; line_rasterizer_e rasterizer_p_;