summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-14 08:51:05 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-14 08:51:05 +0000
commit42a57258435c7ee362bf6ac6f19e572fc2ab7e49 (patch)
tree688e92f42d8c70dd85c2f44657d29da2cb726508 /sc
parentd52e89f0c7563dc06005f16c971c5febb1347244 (diff)
INTEGRATION: CWS koheiformula01 (1.40.68); FILE MERGED
2008/04/23 15:10:48 kohei 1.40.68.2: RESYNC: (1.40-1.41); FILE MERGED 2008/03/19 17:37:11 kohei 1.40.68.1: changed a lot of places to prepare for a single global grammar value that applies to all places where formulas are used.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/documen3.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 702cb84802a1..ecc63f2c18e0 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: documen3.cxx,v $
- * $Revision: 1.41 $
+ * $Revision: 1.42 $
*
* This file is part of OpenOffice.org.
*
@@ -347,12 +347,17 @@ BOOL ScDocument::IsLinked( SCTAB nTab ) const
ScAddress::Convention ScDocument::GetAddressConvention() const
{
- return eAddrConv;
+ return ScGrammar::extractRefConvention(eGrammar);
}
-void ScDocument::SetAddressConvention( ScAddress::Convention eConv )
+ScGrammar::Grammar ScDocument::GetGrammar() const
{
- eAddrConv = eConv;
+ return eGrammar;
+}
+
+void ScDocument::SetGrammar( ScGrammar::Grammar eGram )
+{
+ eGrammar = eGram;
}
BOOL ScDocument::GetLinkMode( SCTAB nTab ) const