improve whitespaces

This commit is contained in:
wmayer
2017-01-21 19:12:56 +01:00
parent 69857f37f7
commit f3f7b01202
5 changed files with 139 additions and 135 deletions

View File

@@ -373,12 +373,12 @@ PropertyLinkSub::~PropertyLinkSub()
// Base class implementer
void PropertyLinkSub::setValue(App::DocumentObject * lValue, const std::vector<std::string> &SubList)
{
{
aboutToSetValue();
#ifndef USE_OLD_DAG
if(_pcLinkSub)
if (_pcLinkSub)
_pcLinkSub->_removeBackLink(static_cast<App::DocumentObject*>(getContainer()));
if(lValue)
if (lValue)
lValue->_addBackLink(static_cast<App::DocumentObject*>(getContainer()));
#endif
_pcLinkSub=lValue;
@@ -574,7 +574,7 @@ void PropertyLinkSubList::setValue(DocumentObject* lValue,const char* SubName)
//maintain backlinks
for(auto *obj : _lValueList)
obj->_removeBackLink(static_cast<DocumentObject*>(getContainer()));
if(lValue)
if (lValue)
lValue->_addBackLink(static_cast<DocumentObject*>(getContainer()));
#endif