summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knorr (astron) <heinzlesspam@gmail.com>2012-05-25 11:27:37 +0200
committerStefan Knorr (astron) <heinzlesspam@gmail.com>2012-05-25 19:11:13 +0200
commit9a7d3d47d9b4d57b0c7380eadb294add4245ba3a (patch)
tree995ae642061e9c77d0d550c3d56e0d4567a0da5a
parent1ed6ca8173c1916b783e52d92296efdda3c82968 (diff)
fdo#50183 Use one sheet as default in Calc
Change-Id: I031b6ef17d4113194c246bd1081268fa27810517
-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 0cd2ff32ec37..62f0ff030f0d 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1620,7 +1620,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"
}