diff options
Diffstat (limited to 'sw/source/core/edit/editsh.cxx')
-rw-r--r-- | sw/source/core/edit/editsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx index 0dcec2742c66..333eecd35262 100644 --- a/sw/source/core/edit/editsh.cxx +++ b/sw/source/core/edit/editsh.cxx @@ -565,7 +565,7 @@ OUString SwEditShell::Calculate() OUString sVar = aStr.copy( nTmpStt, nPos - nTmpStt ); if( !::FindOperator( sVar ) && - (aCalc.GetVarTable().Find(sVar) || + (aCalc.GetVarTable().find(sVar) != aCalc.GetVarTable().end() || aCalc.VarLook( sVar )) ) { if( !bValidFields ) |