From 7ddf10df454734b7c12d385d47d199d637a1c74a Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 9 Apr 2022 06:36:43 +0200 Subject: [PATCH] [skip CI] [App] PropertyLinks: fix line endings --- src/App/PropertyLinks.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App/PropertyLinks.cpp b/src/App/PropertyLinks.cpp index 7e899b9a2b..39137cc5d0 100644 --- a/src/App/PropertyLinks.cpp +++ b/src/App/PropertyLinks.cpp @@ -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 > parentLinks; for(auto link : links) {