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

Thorsten Behrens (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 24 13:10:21 UTC 2019


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

New commits:
commit 47213e712a4e0b382028272b28d0077860e05d7b
Author:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
AuthorDate: Thu Oct 24 15:03:47 2019 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Thu Oct 24 15:09:02 2019 +0200

    sfx2: enable save again
    
    This is a fixup for e37b70442ebf9e1628e7da16b7b6acf498897dee
    
    Change-Id: Ib360c196aa0571d035231cdf4410ab1db134480c

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