sc/source/filter/oox/formulaparser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 43589626af4bc04dc8282b4321a1462eba2d653a Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Oct 28 07:48:09 2014 +0100 loplugin:unreffun Change-Id: I080474c3930d634ff1cf1c8bfd0f51a3ca537992 diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx index 77ecaee..9909818 100644 --- a/sc/source/filter/oox/formulaparser.cxx +++ b/sc/source/filter/oox/formulaparser.cxx @@ -747,7 +747,8 @@ size_t FormulaParserImpl::popOperandSize() ApiToken& FormulaParserImpl::getOperandToken( size_t nOpCountFromEnd, size_t nOpIndex, size_t nTokenIndex ) { - OSL_ENSURE( getOperandSize( nOpCountFromEnd, nOpIndex ) > nTokenIndex, + SAL_WARN_IF( + getOperandSize( nOpCountFromEnd, nOpIndex ) <= nTokenIndex, "sc.filter", "FormulaParserImpl::getOperandToken - invalid parameters" ); SizeTypeVector::const_iterator aIndexIt = maTokenIndexes.end(); for( SizeTypeVector::const_iterator aEnd = maOperandSizeStack.end(), aIt = aEnd - nOpCountFromEnd + nOpIndex; aIt != aEnd; ++aIt ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits