wsd/DocumentBroker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8367df707b3bf2f2c01b5e091221bc5637cfd151 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Dec 19 12:34:13 2016 +0200 Actually do what the comment says Poco::Timestamp::fromEpochTime() is a static member function that returns a Timestamp. Let's hope this doesn't introduce any regression. Change-Id: I0997c4c3128ec07d5db76dbf3ecc388cd19ac2ac diff --git a/wsd/DocumentBroker.cpp b/wsd/DocumentBroker.cpp index 96ec511..a9211be 100644 --- a/wsd/DocumentBroker.cpp +++ b/wsd/DocumentBroker.cpp @@ -494,7 +494,7 @@ bool DocumentBroker::sendUnoSave(const bool dontSaveIfUnmodified) if (savingSession) { // Invalidate the timestamp to force persisting. - _lastFileModifiedTime.fromEpochTime(0); + _lastFileModifiedTime = Poco::Timestamp::fromEpochTime(0); // We do not want save to terminate editing mode if we are in edit mode now _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits