sc/source/core/tool/compiler.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit b82d677b3e30a28d084d3d4f8c039949905fd5fa Author: Eike Rathke <er...@redhat.com> AuthorDate: Mon Mar 22 01:17:45 2021 +0100 Commit: Eike Rathke <er...@redhat.com> CommitDate: Tue Mar 23 11:42:25 2021 +0100 Assert supported FormulaGrammar instead of OSL_ENSURE Change-Id: I80e1c55dbc66d1dcba004aac5cb5759a41bda680 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112860 Tested-by: Jenkins Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 5ed09abc0b73..250e816a2e5e 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -2025,8 +2025,7 @@ void ScCompiler::SetRefConvention( const ScCompiler::Convention *pConvP ) { pConv = pConvP; meGrammar = FormulaGrammar::mergeToGrammar( meGrammar, pConv->meConv); - OSL_ENSURE( FormulaGrammar::isSupported( meGrammar), - "ScCompiler::SetRefConvention: unsupported grammar resulting"); + assert( FormulaGrammar::isSupported( meGrammar)); } void ScCompiler::SetError(FormulaError nError) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits