summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 020a9cc56b3a..414cb8a19ba3 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -9248,7 +9248,7 @@ void ScInterpreter::ScRegex()
utl::TextSearch aSearch( aParam, *ScGlobal::pCharClass);
const bool bMatch = aSearch.SearchForward( aText, &nPos, &nEndPos, &aResult);
if (!bMatch)
- PushNoValue();
+ PushError( FormulaError::NotAvailable);
else
{
assert(aResult.subRegExpressions >= 1);