[PATCH 9/9] removed dead code in calc core tools
pjacquod
pjacquod at alumni.ethz.ch
Sat Nov 20 13:52:22 PST 2010
---
sc/source/core/tool/compiler.cxx | 4 ----
sc/source/core/tool/interpr5.cxx | 2 +-
2 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index e5eb562..002102a 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -528,11 +528,7 @@ ScCompiler::Convention::Convention( FormulaGrammar::AddressConvention eConv )
/* ) */ t[41] |= SC_COMPILER_C_WORD;
/* * */ t[42] |= SC_COMPILER_C_WORD;
/* + */ t[43] |= SC_COMPILER_C_WORD;
-#if 0 /* this really needs to be locale specific. */
-/* , */ t[44] = SC_COMPILER_C_CHAR | SC_COMPILER_C_WORD_SEP | SC_COMPILER_C_VALUE_SEP;
-#else
/* , */ t[44] |= SC_COMPILER_C_WORD;
-#endif
/* - */ t[45] |= SC_COMPILER_C_WORD;
/* ; */ t[59] |= SC_COMPILER_C_WORD;
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index c25f684..6ce149d 100644
--- a/sc/source/core/tool/interpr5.cxx
+++ b/sc/source/core/tool/interpr5.cxx
@@ -916,7 +916,7 @@ void ScInterpreter::ScMatInv()
for (SCSIZE i=0; i < nR; ++i)
pY->PutDouble( X[i], j, i);
}
-#if 0
+#if OSL_DEBUG_LEVEL > 1
/* Possible checks for ill-condition:
* 1. Scale matrix, invert scaled matrix. If there are
* elements of the inverted matrix that are several
--
1.7.1
--------------070903000307090300090306--
More information about the LibreOffice
mailing list