[Libreoffice-commits] .: sc/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Fri Jun 1 08:28:07 PDT 2012


 sc/source/core/data/documen2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 477c2229d2532a11ec8c81b9ef392ce49357f95c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 1 17:27:58 2012 +0200

    Missing initialization
    
    ...which could cause cells in r/o Calc documents to be editable
    
    Change-Id: I2be0e23119cf8424123007a0440a615aaaa6c50b

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 158c731..f072f87 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -218,7 +218,8 @@ ScDocument::ScDocument( ScDocumentMode  eMode,
         mbExecuteLinkEnabled( true ),
         mbChangeReadOnlyEnabled( false ),
         mbStreamValidLocked( false ),
-        mnNamedRangesLockCount( 0 )
+        mnNamedRangesLockCount( 0 ),
+        mbIsInTest( false )
 {
     SetStorageGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT);
 


More information about the Libreoffice-commits mailing list