[Libreoffice-commits] core.git: sfx2/source
Thorsten Behrens (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 24 13:09:12 UTC 2019
sfx2/source/view/viewsh.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f763f86035ed8feffeedd7cfaebe3e0a3390a86f
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Thu Oct 24 15:03:47 2019 +0200
Commit: Serge Krot (CIB) <Serge.Krot at cib.de>
CommitDate: Thu Oct 24 15:07:42 2019 +0200
sfx2: enable save again
This is a fixup for e37b70442ebf9e1628e7da16b7b6acf498897dee
Change-Id: Ib360c196aa0571d035231cdf4410ab1db134480c
Reviewed-on: https://gerrit.libreoffice.org/81454
Reviewed-by: Serge Krot (CIB) <Serge.Krot at cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot at cib.de>
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 236d173ef140..1d75d7d354b5 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1782,7 +1782,7 @@ bool SfxViewShell::isSaveLocked()
if (!xModel.is())
return false;
comphelper::NamedValueCollection aArgs(xModel->getArgs());
- return aArgs.getOrDefault("LockSave", true);
+ return aArgs.getOrDefault("LockSave", false);
}
Reference < XController > SfxViewShell::GetController() const
More information about the Libreoffice-commits
mailing list