[skip CI] [App] PropertyLinks: fix line endings
This commit is contained in:
@@ -649,7 +649,7 @@ void PropertyLinkList::set1Value(int idx, DocumentObject* const &value) {
|
||||
DocumentObject *obj = nullptr;
|
||||
if(idx>=0 && idx<(int)_lValueList.size()) {
|
||||
obj = _lValueList[idx];
|
||||
if(obj == value)
|
||||
if(obj == value)
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2807,7 +2807,7 @@ public:
|
||||
}
|
||||
|
||||
void slotFinishRestoreDocument(const App::Document &doc) {
|
||||
if(pcDoc)
|
||||
if(pcDoc)
|
||||
return;
|
||||
QString fullpath(getFullPath());
|
||||
if(!fullpath.isEmpty() && getFullPath(doc.getFileName())==fullpath)
|
||||
@@ -2819,7 +2819,7 @@ public:
|
||||
slotFinishRestoreDocument(doc);
|
||||
return;
|
||||
}
|
||||
if(&doc!=pcDoc)
|
||||
if(&doc!=pcDoc)
|
||||
return;
|
||||
|
||||
QFileInfo info(myPos->first);
|
||||
@@ -2882,7 +2882,7 @@ public:
|
||||
deinit();
|
||||
return;
|
||||
}
|
||||
if(pcDoc!=&doc)
|
||||
if(pcDoc!=&doc)
|
||||
return;
|
||||
std::map<App::PropertyLinkBase*,std::vector<App::PropertyXLink*> > parentLinks;
|
||||
for(auto link : links) {
|
||||
|
||||
Reference in New Issue
Block a user