diff options
author | René Kjellerup <rk.katana.steel@gmail.com> | 2010-11-03 12:33:38 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-11-03 12:34:09 -0400 |
commit | 892231d6dc012788f4776e4925fa3e22d5f4ae83 (patch) | |
tree | 4f2bcbfe7cb73329127c02d2103f9fe03f121a7c /sc/source/core/tool/docoptio.cxx | |
parent | 549fb00d597cc71dc7ecdc55e6197a62192691ce (diff) |
Warning free sc module
Diffstat (limited to 'sc/source/core/tool/docoptio.cxx')
-rw-r--r-- | sc/source/core/tool/docoptio.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/tool/docoptio.cxx b/sc/source/core/tool/docoptio.cxx index e905cbe7f24d..4933681ab2f3 100644 --- a/sc/source/core/tool/docoptio.cxx +++ b/sc/source/core/tool/docoptio.cxx @@ -385,7 +385,7 @@ ScDocCfg::ScDocCfg() : aValues = aCalcItem.GetProperties(aNames); aCalcItem.EnableNotification(aNames); pValues = aValues.getConstArray(); - DBG_ASSERT(aValues.getLength() == aNames.getLength(), "GetProperties failed"); + OSL_ENSURE(aValues.getLength() == aNames.getLength(), "GetProperties failed"); if(aValues.getLength() == aNames.getLength()) { for(int nProp = 0; nProp < aNames.getLength(); nProp++) @@ -631,6 +631,7 @@ IMPL_LINK( ScDocCfg, FormulaCommitHdl, void *, EMPTYARG ) { case ::formula::FormulaGrammar::GRAM_NATIVE_XL_A1: nVal = 1; break; case ::formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1: nVal = 2; break; + default: break; } pValues[nProp] <<= nVal; } |