sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 13238b860f546afd750db561cd0292ed6869744e Author: Eike Rathke <er...@redhat.com> Date: Thu May 18 14:13:43 2017 +0200 assert instead of OSL_ENSURE if grammar is GRAM_UNSPECIFIED Change-Id: Ie23a5a98e9bc6dfbd5d685c482fb358ac3822845 (cherry picked from commit 730622df7c0e97917c3c0d53b1ec03691d0afb74) Reviewed-on: https://gerrit.libreoffice.org/37766 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index a95f2da5698c..d6f171e7c621 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -195,7 +195,7 @@ void ScCompiler::InitCharClassEnglish() void ScCompiler::SetGrammar( const FormulaGrammar::Grammar eGrammar ) { - OSL_ENSURE( eGrammar != FormulaGrammar::GRAM_UNSPECIFIED, "ScCompiler::SetGrammar: don't pass FormulaGrammar::GRAM_UNSPECIFIED"); + assert( eGrammar != FormulaGrammar::GRAM_UNSPECIFIED && "ScCompiler::SetGrammar: don't pass FormulaGrammar::GRAM_UNSPECIFIED"); if (eGrammar == GetGrammar()) return; // nothing to be done _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits