summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-31 11:36:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-31 12:28:54 +0200
commit71056d59de59561ee1d74a3c2d9d66a223422c7e (patch)
tree0aef4a86328ef59e5edd25faac6c5f2018598cbe
parent0210ec32f779bb2098657eb4ad69cca7a60835dc (diff)
Revert "Revert "fdo#50183 Use one sheet as default in Calc""
This reverts commit 3e07bdfce6ef700a94868ccc03268aa005c295b8. The problems with the tests still assuming three sheets by default have now been addressed.
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/Calc.xcs2
-rw-r--r--sc/source/core/tool/defaultsoptions.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 245f2ff15058..1922c6ca8259 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1649,7 +1649,7 @@
<author>Albert Thuswaldner</author>
<desc>Option to set initial number of sheet tabs</desc>
</info>
- <value>3</value>
+ <value>1</value>
</prop>
<prop oor:name="SheetPrefix" oor:type="xs:string">
<!-- UIHints: Tools - Options - Spreadsheet - Defaults -->
diff --git a/sc/source/core/tool/defaultsoptions.cxx b/sc/source/core/tool/defaultsoptions.cxx
index 034b5851d41c..9683a7affd57 100644
--- a/sc/source/core/tool/defaultsoptions.cxx
+++ b/sc/source/core/tool/defaultsoptions.cxx
@@ -61,7 +61,7 @@ ScDefaultsOptions::~ScDefaultsOptions()
void ScDefaultsOptions::SetDefaults()
{
- nInitTabCount = 3;
+ nInitTabCount = 1;
aInitTabPrefix = ScGlobal::GetRscString(STR_TABLE_DEF); // Default Prefix "Sheet"
}