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.yosh...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits