[skip CI] [App] PropertyLinks: fix line endings

This commit is contained in:
Uwe
2022-04-09 06:36:43 +02:00
parent 44a989f3b9
commit 7ddf10df45

View File

@@ -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) {