From fe20652629f5f2382ba9a9bef649ceae5180db15 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 14 Jan 2009 12:34:56 +0000 Subject: [PATCH] + removed unused parameter from has_point_placement --- include/mapnik/label_collision_detector.hpp | 2 +- src/placement_finder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/label_collision_detector.hpp b/include/mapnik/label_collision_detector.hpp index ed1220ad9..cedde6c82 100644 --- a/include/mapnik/label_collision_detector.hpp +++ b/include/mapnik/label_collision_detector.hpp @@ -190,7 +190,7 @@ namespace mapnik return true; } - bool has_point_placement(Envelope const& box, UnicodeString const& text, double distance) + bool has_point_placement(Envelope const& box, double distance) { Envelope bigger_box(box.minx() - distance, box.miny() - distance, box.maxx() + distance, box.maxy() + distance); tree_t::query_iterator itr = tree_.query_in_box(bigger_box); diff --git a/src/placement_finder.cpp b/src/placement_finder.cpp index 0766b625c..9cc03eb4a 100644 --- a/src/placement_finder.cpp +++ b/src/placement_finder.cpp @@ -343,7 +343,7 @@ namespace mapnik } if (!dimensions_.intersects(e) || - !detector_.has_point_placement(e, p.info.get_string(), p.minimum_distance)) + !detector_.has_point_placement(e, p.minimum_distance)) { return; }