summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/interpr4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index bfd949486861..a3d77ffad4b0 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -543,10 +543,10 @@ double ScInterpreter::GetCellValueOrZero( const ScAddress& rPos, const ScBaseCel
break;
#if OSL_DEBUG_LEVEL > 0
case CELLTYPE_DESTROYED:
-#endif
SetError(errCellNoValue);
fValue = 0.0;
break;
+#endif
}
return fValue;
@@ -610,10 +610,10 @@ double ScInterpreter::GetCellValueOrZero( ScCellIterator& rIter )
break;
#if OSL_DEBUG_LEVEL > 0
case CELLTYPE_DESTROYED:
-#endif
SetError(errCellNoValue);
fValue = 0.0;
break;
+#endif
}
return fValue;