Kaydet (Commit) 0b75eda1 authored tarafından Winfried Donkers's avatar Winfried Donkers Kaydeden (comit) Eike Rathke

tdf#88576 fix handling of empty arguments in IF(), IFERROR() and IFNA()

Change-Id: I8acca26cf7398768a9e25f97f3a9e61754ab2179
Reviewed-on: https://gerrit.libreoffice.org/14415Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst d87ecd25
...@@ -3028,7 +3028,10 @@ void ScInterpreter::ScExternal() ...@@ -3028,7 +3028,10 @@ void ScInterpreter::ScExternal()
void ScInterpreter::ScMissing() void ScInterpreter::ScMissing()
{ {
PushTempToken( new FormulaMissingToken ); if ( aCode.IsEndOfPath() )
PushTempToken( new ScEmptyCellToken( false, false ) );
else
PushTempToken( new FormulaMissingToken );
} }
#if HAVE_FEATURE_SCRIPTING #if HAVE_FEATURE_SCRIPTING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment