[Libreoffice-commits] core.git: Branch 'feature/cib_contract3756b' - sfx2/source

Thorsten Behrens (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 5 11:06:51 UTC 2019


 sfx2/source/view/viewsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cbe41ccc81013424a9761a86003debabbabb6eb1
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 Dec 5 12:05:56 2019 +0100

    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>
    (cherry picked from commit f763f86035ed8feffeedd7cfaebe3e0a3390a86f)
    Reviewed-on: https://gerrit.libreoffice.org/84533

diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 64b0d0a9b591..b9d69686f2dd 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1817,7 +1817,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()


More information about the Libreoffice-commits mailing list