crossreferences only with ctrl button and fix missing return value

This commit is contained in:
Stefan Tröger
2015-07-27 20:31:18 +02:00
parent e2f70e5e5b
commit 83eedba043
3 changed files with 5 additions and 6 deletions

View File

@@ -175,7 +175,6 @@ DocumentObjectGroup* DocumentObject::getGroup() const
bool DocumentObject::testIfLinkDAGCompatible(DocumentObject *linkTo) const
{
std::vector<App::DocumentObject*> linkTo_in_vector;
linkTo_in_vector.reserve(1);
linkTo_in_vector.push_back(linkTo);
return this->testIfLinkDAGCompatible(linkTo_in_vector);
}