[Libreoffice-commits] core.git: sc/source
Winfried Donkers
winfrieddonkers at libreoffice.org
Wed Feb 11 05:35:19 PST 2015
sc/source/core/tool/interpr4.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 0b75eda1090f92adc678ceff2565da2dc7d9328c
Author: Winfried Donkers <winfrieddonkers at libreoffice.org>
Date: Wed Feb 11 09:32:09 2015 +0100
tdf#88576 fix handling of empty arguments in IF(), IFERROR() and IFNA()
Change-Id: I8acca26cf7398768a9e25f97f3a9e61754ab2179
Reviewed-on: https://gerrit.libreoffice.org/14415
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index fea7e6e..e3c48d6 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3028,7 +3028,10 @@ void ScInterpreter::ScExternal()
void ScInterpreter::ScMissing()
{
- PushTempToken( new FormulaMissingToken );
+ if ( aCode.IsEndOfPath() )
+ PushTempToken( new ScEmptyCellToken( false, false ) );
+ else
+ PushTempToken( new FormulaMissingToken );
}
#if HAVE_FEATURE_SCRIPTING
More information about the Libreoffice-commits
mailing list