Skip to content

Commit

Permalink
+ code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Apr 3, 2014
1 parent c332b32 commit 982a555
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/Gui/SelectionFilter.cpp
Expand Up @@ -71,7 +71,7 @@ bool SelectionFilterGate::allow(App::Document*pDoc,App::DocumentObject*pObj, con
return Filter->test(pObj,sSubName);
}


// ----------------------------------------------------------------------------

SelectionFilter::SelectionFilter(const char* filter)
: Ast(0)
Expand Down Expand Up @@ -171,17 +171,7 @@ void SelectionFilter::addError(const char* e)
Errors += '\n';
}


//const App::DocumentObject * SelectionFilter::getObject(void) const
//{
// if(DocName != ""){
// App::Document *doc = App::GetApplication().getDocument(DocName.c_str());
// if(doc && FeatName != "")
// return doc->getObject(FeatName.c_str());
// }
// return 0;
//}

// ----------------------------------------------------------------------------

void SelectionFilterPy::init_type()
{
Expand Down

0 comments on commit 982a555

Please sign in to comment.