diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-11-25 00:53:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-25 11:25:25 +0100 |
commit | 947b23c20780ede6b4d588fb9b944f572e9f8bc8 (patch) | |
tree | 97a5572fc535abbb72ea658a3b9eb69661589e43 /sw/source/core/edit/editsh.cxx | |
parent | 6ef1728944b3e0ad0679a11cb17044b8d4401491 (diff) |
Convert SwHashTable to std::unordered_map
Change-Id: I88b082dc61c05761fd162ea4cf1d30940c2dfccd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159941
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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 ) |