diff options
Diffstat (limited to 'sc/source/core/tool/token.cxx')
-rw-r--r-- | sc/source/core/tool/token.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index 00e17c092779..c7e936753aad 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -1162,6 +1162,8 @@ bool ScTokenArray::AddFormulaToken(const com::sun::star::sheet::FormulaToken& _a AddRangeName(aTokenData.Index, aTokenData.Global); else if (eOpCode == ocDBArea) AddDBRange(aTokenData.Index); + else + bError = true; } else if ( aType.equals( cppu::UnoType<sheet::ExternalReference>::get() ) ) { |