From 9a007cfbc44303c718ed84ff0f4b69822a841220 Mon Sep 17 00:00:00 2001 From: Jean-Marie Verdun Date: Fri, 30 Aug 2019 18:18:54 +0200 Subject: [PATCH] Fix copyright --- src/App/Document.cpp | 2 +- src/App/Document.h | 2 +- src/Mod/Cloud/App/AppCloud.cpp | 6 ++---- src/Mod/Cloud/Gui/Command.cpp | 2 +- src/Mod/Cloud/Gui/PreCompiled.cpp | 2 +- src/Mod/Cloud/Gui/PreCompiled.h | 2 +- src/Mod/Cloud/Gui/Workbench.cpp | 2 +- src/Mod/Cloud/Gui/Workbench.h | 2 +- 8 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 0a6382edb5..fe1fef2d3a 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -1268,7 +1268,7 @@ bool Document::isTransactionEmpty() const return true; } -void Document::emptyDocument() +void Document::clearDocument() { this->d->activeObject = 0; diff --git a/src/App/Document.h b/src/App/Document.h index 8cd1a1e716..b46f84bcc3 100644 --- a/src/App/Document.h +++ b/src/App/Document.h @@ -180,7 +180,7 @@ public: //@} - void emptyDocument(); + void clearDocument(); /** @name File handling of the document */ //@{ diff --git a/src/Mod/Cloud/App/AppCloud.cpp b/src/Mod/Cloud/App/AppCloud.cpp index 9b2dd85b31..7c8ac97c3c 100644 --- a/src/Mod/Cloud/App/AppCloud.cpp +++ b/src/Mod/Cloud/App/AppCloud.cpp @@ -329,7 +329,6 @@ void Cloud::CloudReader::DownloadFile(Cloud::CloudReader::FileEntry *entry) // CHANGEME sprintf(StringToSign,"GET\n\napplication/octet-stream\n%s\n/%s/%s", date_formatted, this->Bucket, entry->FileName); - printf("Reading %s\n",entry->FileName); // We have to use HMAC encoding and SHA1 digest=HMAC(EVP_sha1(),this->SecretKey,strlen(this->SecretKey), (const unsigned char *)&StringToSign,strlen(StringToSign),NULL,NULL); @@ -592,7 +591,7 @@ bool Cloud::Module::cloudSave(const char *BucketName) mywriter.setMode("BinaryBrep"); mywriter.Stream() << "" << endl << "" << endl; doc->Save(mywriter); @@ -618,7 +617,6 @@ void readFiles(Cloud::CloudReader reader, Base::XMLReader *xmlreader) std::vector::const_iterator it = xmlreader->FileList.begin(); while ( it != xmlreader->FileList.end()) { - printf("Reading in ReadFiles %s\n",it->FileName.c_str()); if ( reader.isTouched(it->FileName.c_str()) == 0 ) { Base::Reader localreader(reader.GetEntry(it->FileName.c_str())->FileStream,it->FileName, xmlreader->FileVersion); @@ -642,7 +640,7 @@ bool Cloud::Module::cloudRestore (const char *BucketName) doc->clearUndos(); - doc->emptyDocument(); + doc->clearDocument(); std::stringstream oss; diff --git a/src/Mod/Cloud/Gui/Command.cpp b/src/Mod/Cloud/Gui/Command.cpp index c3ea99ca6c..572f999fa7 100644 --- a/src/Mod/Cloud/Gui/Command.cpp +++ b/src/Mod/Cloud/Gui/Command.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2019 jmverdun3@gmail.com * + * Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Cloud/Gui/PreCompiled.cpp b/src/Mod/Cloud/Gui/PreCompiled.cpp index 92ffe685dc..33f5075503 100644 --- a/src/Mod/Cloud/Gui/PreCompiled.cpp +++ b/src/Mod/Cloud/Gui/PreCompiled.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2019 jmverdun3@gmail.com * + * Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Cloud/Gui/PreCompiled.h b/src/Mod/Cloud/Gui/PreCompiled.h index fb464c6bf3..976f6f0856 100644 --- a/src/Mod/Cloud/Gui/PreCompiled.h +++ b/src/Mod/Cloud/Gui/PreCompiled.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2019 jmverdun3@gmail.com * + * Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Cloud/Gui/Workbench.cpp b/src/Mod/Cloud/Gui/Workbench.cpp index e1a92bed77..95afce4206 100644 --- a/src/Mod/Cloud/Gui/Workbench.cpp +++ b/src/Mod/Cloud/Gui/Workbench.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2019 jmverdun3@gmail.com * + * Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/Cloud/Gui/Workbench.h b/src/Mod/Cloud/Gui/Workbench.h index 5464a2a48e..b7b7480f19 100644 --- a/src/Mod/Cloud/Gui/Workbench.h +++ b/src/Mod/Cloud/Gui/Workbench.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) 2019 jmverdun3@gmail.com * + * Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com * * * * This file is part of the FreeCAD CAx development system. * * *