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 <erack@redhat.com>
This commit is contained in:
parent
9af9d3da37
commit
b82d677b3e
1 changed files with 1 additions and 2 deletions
|
@ -2025,8 +2025,7 @@ void ScCompiler::SetRefConvention( const ScCompiler::Convention *pConvP )
|
||||||
{
|
{
|
||||||
pConv = pConvP;
|
pConv = pConvP;
|
||||||
meGrammar = FormulaGrammar::mergeToGrammar( meGrammar, pConv->meConv);
|
meGrammar = FormulaGrammar::mergeToGrammar( meGrammar, pConv->meConv);
|
||||||
OSL_ENSURE( FormulaGrammar::isSupported( meGrammar),
|
assert( FormulaGrammar::isSupported( meGrammar));
|
||||||
"ScCompiler::SetRefConvention: unsupported grammar resulting");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScCompiler::SetError(FormulaError nError)
|
void ScCompiler::SetError(FormulaError nError)
|
||||||
|
|
Loading…
Reference in a new issue