remove uneeded access to format tree

This commit is contained in:
Dane Springmeyer 2014-10-09 20:51:07 -07:00
parent e8bb880a45
commit 2d88f736fe
2 changed files with 0 additions and 7 deletions

View file

@ -183,8 +183,6 @@ struct MAPNIK_DECL text_symbolizer_properties
void evaluate_text_properties(feature_impl const& feature, attributes const& attrs); void evaluate_text_properties(feature_impl const& feature, attributes const& attrs);
// Sets new format tree. // Sets new format tree.
void set_format_tree(formatting::node_ptr 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. // Get a list of all expressions used in any placement.
// This function is used to collect attributes. // This function is used to collect attributes.
void add_expressions(expression_set & output) const; void add_expressions(expression_set & output) const;

View file

@ -115,11 +115,6 @@ void text_symbolizer_properties::set_format_tree(formatting::node_ptr tree)
tree_ = 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) void text_symbolizer_properties::text_properties_from_xml(xml_node const& node)
{ {
// The options 'margin' and 'repeat-distance' replace 'minimum-distance'. // The options 'margin' and 'repeat-distance' replace 'minimum-distance'.