From 2d88f736fee07c3cdfed620c67c9f609ebf9c4b1 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 9 Oct 2014 20:51:07 -0700 Subject: [PATCH] remove uneeded access to format tree --- include/mapnik/text/text_properties.hpp | 2 -- src/text/text_properties.cpp | 5 ----- 2 files changed, 7 deletions(-) diff --git a/include/mapnik/text/text_properties.hpp b/include/mapnik/text/text_properties.hpp index af24050a6..1d7ec4122 100644 --- a/include/mapnik/text/text_properties.hpp +++ b/include/mapnik/text/text_properties.hpp @@ -183,8 +183,6 @@ struct MAPNIK_DECL text_symbolizer_properties void evaluate_text_properties(feature_impl const& feature, attributes const& attrs); // Sets new format tree. void set_format_tree(formatting::node_ptr tree); - // Get format tree. - formatting::node_ptr format_tree() const; // Get a list of all expressions used in any placement. // This function is used to collect attributes. void add_expressions(expression_set & output) const; diff --git a/src/text/text_properties.cpp b/src/text/text_properties.cpp index aa23f44a2..6e5c70b08 100644 --- a/src/text/text_properties.cpp +++ b/src/text/text_properties.cpp @@ -115,11 +115,6 @@ void text_symbolizer_properties::set_format_tree(formatting::node_ptr tree) tree_ = tree; } -formatting::node_ptr text_symbolizer_properties::format_tree() const -{ - return tree_; -} - void text_symbolizer_properties::text_properties_from_xml(xml_node const& node) { // The options 'margin' and 'repeat-distance' replace 'minimum-distance'.