App: PR6497 move return statement to new line
This commit is contained in:
@@ -649,7 +649,8 @@ void PropertyLinkList::set1Value(int idx, DocumentObject* const &value) {
|
||||
DocumentObject *obj = nullptr;
|
||||
if(idx>=0 && idx<(int)_lValueList.size()) {
|
||||
obj = _lValueList[idx];
|
||||
if(obj == value) return;
|
||||
if(obj == value)
|
||||
return;
|
||||
}
|
||||
|
||||
if(!value || !value->getNameInDocument())
|
||||
@@ -2806,7 +2807,8 @@ public:
|
||||
}
|
||||
|
||||
void slotFinishRestoreDocument(const App::Document &doc) {
|
||||
if(pcDoc) return;
|
||||
if(pcDoc)
|
||||
return;
|
||||
QString fullpath(getFullPath());
|
||||
if(!fullpath.isEmpty() && getFullPath(doc.getFileName())==fullpath)
|
||||
attach(const_cast<App::Document*>(&doc));
|
||||
@@ -2817,7 +2819,8 @@ public:
|
||||
slotFinishRestoreDocument(doc);
|
||||
return;
|
||||
}
|
||||
if(&doc!=pcDoc) return;
|
||||
if(&doc!=pcDoc)
|
||||
return;
|
||||
|
||||
QFileInfo info(myPos->first);
|
||||
// QString path(info.canonicalFilePath());
|
||||
@@ -2879,7 +2882,8 @@ public:
|
||||
deinit();
|
||||
return;
|
||||
}
|
||||
if(pcDoc!=&doc) return;
|
||||
if(pcDoc!=&doc)
|
||||
return;
|
||||
std::map<App::PropertyLinkBase*,std::vector<App::PropertyXLink*> > parentLinks;
|
||||
for(auto link : links) {
|
||||
link->setFlag(PropertyLinkBase::LinkDetached);
|
||||
|
||||
Reference in New Issue
Block a user