Changeset 65 in flair-src


Ignore:
Timestamp:
Aug 23, 2016, 2:50:14 PM (8 years ago)
Author:
Thomas Fuhrmann
Message:

Remove some debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mavlink/lib/FlairCore/src/Widget.cpp

    r63 r65  
    2020
    2121using std::string;
    22 
    23 //remove, for tests
    24 #include <iostream>
    2522
    2623namespace flair {
     
    230227
    231228void Widget::UnsetPersistentXmlProp(std::string prop) {
    232   xmlNodePtr Node = pimpl_->file_node;
    233 
    234   for(xmlAttrPtr attr = Node->properties; NULL != attr; attr = attr->next)
    235   {
    236       std::cout << attr->name << std::endl;
    237   }
    238 
    239   int ret = xmlUnsetProp(pimpl_->file_node, (xmlChar *)prop.c_str());
    240   std::cout << "UnsetPersistentXmlProp, item= " << prop << "result = " << ret << std::endl;
    241 
    242   for(xmlAttrPtr attr = Node->properties; NULL != attr; attr = attr->next)
    243   {
    244       std::cout << attr->name << std::endl;
    245   }
     229  xmlUnsetProp(pimpl_->file_node, (xmlChar *)prop.c_str());
    246230}
    247231
Note: See TracChangeset for help on using the changeset viewer.