wsd/Storage.cpp | 2 +- wsd/Storage.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 043e3c5238ded940a109f51bc170eaf83dde5670 Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Mon Jun 8 15:26:09 2020 +0200 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Mon Jun 8 15:39:00 2020 +0200 Rename: getIsAutosave -> isAutosave Change-Id: I30b8d52ff33c2ae270b44a1670bacc4a48af4495 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95807 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <[email protected]> diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp index 7e262b1cd..95046acac 100644 --- a/wsd/Storage.cpp +++ b/wsd/Storage.cpp @@ -970,7 +970,7 @@ WopiStorage::saveLocalFileToStorage(const Authorization& auth, const std::string if (lockCtx._supportsLocks) request.set("X-WOPI-Lock", lockCtx._lockToken); request.set("X-LOOL-WOPI-IsModifiedByUser", isUserModified()? "true": "false"); - request.set("X-LOOL-WOPI-IsAutosave", getIsAutosave()? "true": "false"); + request.set("X-LOOL-WOPI-IsAutosave", isAutosave()? "true": "false"); request.set("X-LOOL-WOPI-IsExitSave", isExitSave()? "true": "false"); if (!getExtendedData().empty()) request.set("X-LOOL-WOPI-ExtendedData", getExtendedData()); diff --git a/wsd/Storage.hpp b/wsd/Storage.hpp index e5ea41101..e7fa612b9 100644 --- a/wsd/Storage.hpp +++ b/wsd/Storage.hpp @@ -203,7 +203,7 @@ public: /// To be able to set the WOPI 'is autosave/is exitsave?' headers appropriately. void setIsAutosave(bool isAutosave) { _isAutosave = isAutosave; } - bool getIsAutosave() const { return _isAutosave; } + bool isAutosave() const { return _isAutosave; } void setIsExitSave(bool exitSave) { _isExitSave = exitSave; } bool isExitSave() const { return _isExitSave; } void setExtendedData(const std::string& extendedData) { _extendedData = extendedData; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
