| 253 | } |
| 254 | |
| 255 | void Preference::resolveElement(const ElementPtr &element, const std::string &activity) { |
| 256 | // resolve tree pruning |
| 257 | if (element) |
| 258 | this->resolveTreePruning(element, activity); |
| 259 | // pruning Valid Texts |
| 260 | if (this->_pruningValidTexts && element) |
| 261 | this->pruningValidTexts(element); |
| 262 | if (element) { |
| 263 | for (const auto &child: element->getChildren()) { |
| 264 | this->resolveElement(child, activity); |
| 265 | } |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | void Preference::resolveBlackWidgets(const ElementPtr &rootXML, const std::string &activity) { |
| 270 | // black widgets |
no test coverage detected