[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Thu Apr 26 18:41:59 PDT 2012
sc/source/core/tool/defaultsoptions.cxx | 1 -
sc/source/core/tool/formulaopt.cxx | 1 -
2 files changed, 2 deletions(-)
New commits:
commit faea7e4962dcfe1b2a59407bc8ad03d6ded4c6d6
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu Apr 26 21:41:48 2012 -0400
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
diff --git a/sc/source/core/tool/defaultsoptions.cxx b/sc/source/core/tool/defaultsoptions.cxx
index 0bf9e1a..034b585 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 dab52bf..9468f09 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)
More information about the Libreoffice-commits
mailing list