mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
Bugfix: Collect expressions for formating::format_node.
This commit is contained in:
parent
0acd2137b8
commit
7ef1c3544e
@ -143,6 +143,7 @@ public:
|
||||
void to_xml(boost::property_tree::ptree &xml) const;
|
||||
static node_ptr from_xml(boost::property_tree::ptree const& xml);
|
||||
virtual void apply(char_properties const& p, Feature const& feature, processed_text &output) const;
|
||||
virtual void add_expressions(expression_set &output) const;
|
||||
|
||||
void set_child(node_ptr child);
|
||||
node_ptr get_child() const;
|
||||
|
||||
@ -277,6 +277,11 @@ node_ptr format_node::get_child() const
|
||||
return child_;
|
||||
}
|
||||
|
||||
void format_node::add_expressions(expression_set &output) const
|
||||
{
|
||||
if (child_) child_->add_expressions(output);
|
||||
}
|
||||
|
||||
} //namespace formating
|
||||
|
||||
/************************************************************/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user