Some code cosmetics

This commit is contained in:
jrheinlaender
2013-09-16 20:38:39 +02:00
committed by Stefan Tröger
parent cdb49c28e5
commit 4623f3a7d3
6 changed files with 10 additions and 6 deletions

View File

@@ -362,12 +362,13 @@ void Line::onChanged(const App::Property *prop)
if (p1 != NULL) delete p1;
if (p2 != NULL) delete p2;
if (line != NULL) delete line;
if (circle != NULL) delete circle;
}
Part::Datum::onChanged(prop);
}
const std::set<QString> Line::getHint()
const std::set<QString> Line::getHint() const
{
if (hints.find(refTypes) != hints.end())
return hints[refTypes];