diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 21:41:48 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 21:42:36 -0400 |
commit | faea7e4962dcfe1b2a59407bc8ad03d6ded4c6d6 (patch) | |
tree | ed77bd8a976eab37e2996e0b62d05502ee3ee494 /sc | |
parent | 811899e4a28f8b37c23c07fc524dbf1f3c1b6fb5 (diff) |
No need for these warnings.
Property values can be legitimately missing when the values have never
been changed from the default ones.
Change-Id: I3cfb6fdb41ce0012ee8af61e0566d2f8b5df78e3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/defaultsoptions.cxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/core/tool/defaultsoptions.cxx b/sc/source/core/tool/defaultsoptions.cxx index 0bf9e1aa93a6..034b5851d41c 100644 --- a/sc/source/core/tool/defaultsoptions.cxx +++ b/sc/source/core/tool/defaultsoptions.cxx @@ -158,7 +158,6 @@ ScDefaultsCfg::ScDefaultsCfg() : sal_Int32 nIntVal = 0; for(int nProp = 0; nProp < aNames.getLength(); nProp++) { - OSL_ENSURE(pValues[nProp].hasValue(), "property value missing"); if(pValues[nProp].hasValue()) { switch (nProp) diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index dab52bf9356c..9468f0900f53 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -238,7 +238,6 @@ ScFormulaCfg::ScFormulaCfg() : sal_Int32 nIntVal = 0; for(int nProp = 0; nProp < aNames.getLength(); nProp++) { - OSL_ENSURE(pValues[nProp].hasValue(), "property value missing"); if(pValues[nProp].hasValue()) { switch(nProp) |