[Libreoffice-commits] online.git: wsd/Storage.cpp wsd/Storage.hpp
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jun 8 13:39:21 UTC 2020
wsd/Storage.cpp | 2 +-
wsd/Storage.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 043e3c5238ded940a109f51bc170eaf83dde5670
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon Jun 8 15:26:09 2020 +0200
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
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 <Samuel.Mehrbrodt at cib.de>
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; }
More information about the Libreoffice-commits
mailing list