[Libreoffice-commits] .: officecfg/registry sc/source

Stefan Knorr astron at kemper.freedesktop.org
Fri May 25 10:11:42 PDT 2012


 officecfg/registry/schema/org/openoffice/Office/Calc.xcs |    2 +-
 sc/source/core/tool/defaultsoptions.cxx                  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9a7d3d47d9b4d57b0c7380eadb294add4245ba3a
Author: Stefan Knorr (astron) <heinzlesspam at gmail.com>
Date:   Fri May 25 11:27:37 2012 +0200

    fdo#50183 Use one sheet as default in Calc
    
    Change-Id: I031b6ef17d4113194c246bd1081268fa27810517

diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 0cd2ff3..62f0ff0 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 034b585..9683a7a 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"
 }
 


More information about the Libreoffice-commits mailing list