if(!isElementNode(theNode))
return false;
// it's parent is "feature" or "source" or page ("case" or "box")
- if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE,
+ if(!hasParent(theNode, NODE_FEATURE, NODE_SOURCE,
WDG_GROUP, WDG_OPTIONALBOX,
WDG_TOOLBOX_BOX, WDG_SWITCH_CASE, NULL))
return false;
//it should not be a "source" or a "validator" node
- bool isLogical = isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NODE_SELFILTER, NULL);
+ bool isLogical = isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NULL);
// here must be only widgets not connected to attributes
bool isPagedContainer = isNode(theNode, WDG_TOOLBOX_BOX,
WDG_GROUP,
return false;
//it should not be a "source" or a "validator" node
- return !isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NODE_SELFILTER, NULL);
+ return !isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NULL);
}
// widget api?
xmlFree(aPropChars);
std::string::iterator new_end = std::unique(result.begin(), result.end(), BothAreSpaces);
- result.erase(new_end, result.end());
+ result.erase(new_end, result.end());
return result;
}