summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--formula/source/core/api/token.cxx2
-rw-r--r--sc/source/core/tool/token.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 180ba0f1af86..1780c57c0103 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -390,7 +390,7 @@ bool FormulaTokenArray::AddFormulaToken(
if ( eOpCode == ocDBArea )
AddToken( formula::FormulaIndexToken( eOpCode, static_cast<sal_uInt16>(nValue) ) );
else if ( eOpCode == ocTableRef )
- /* TODO: implementation */ ;
+ bError = true; /* TODO: implementation */
else if ( eOpCode == ocSpaces )
AddToken( formula::FormulaByteToken( ocSpaces, static_cast<sal_uInt8>(nValue) ) );
else
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 298451b61786..ff0b548d822d 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1045,7 +1045,7 @@ bool ScTokenArray::AddFormulaToken(
else if (eOpCode == ocDBArea)
AddDBRange(aTokenData.Index);
else if (eOpCode == ocTableRef)
- /* TODO: AddTableRef(aTokenData.Index) */ ;
+ bError = true; /* TODO: implementation */
else
bError = true;
}