summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-06-01 17:27:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-06-01 17:27:58 +0200
commit477c2229d2532a11ec8c81b9ef392ce49357f95c (patch)
treedf7ae732ebe9e1eb91f8ee695bf938f221eb30bc
parent017b1c5d0a1f6ceaa9a4810400d32477c13183b1 (diff)
Missing initialization
...which could cause cells in r/o Calc documents to be editable Change-Id: I2be0e23119cf8424123007a0440a615aaaa6c50b
-rw-r--r--sc/source/core/data/documen2.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 158c7312bfb3..f072f87ec922 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);