diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2016-03-12 13:15:46 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-12 14:30:32 +0000 |
commit | 1151fec7a8c3dfcbc364aa941f477004309b1e59 (patch) | |
tree | a1380921ab330dbc0535c2dfff55b75355dbe3fb /sc | |
parent | 0c3ff8ca07265304f9ea0a7aca8c83703cff01a1 (diff) |
Let's use the iterator return by erase method (final)
Change-Id: I1934b0c2a9ae9fa089d7e9ded4a289908fb2709a
Reviewed-on: https://gerrit.libreoffice.org/23173
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/conditio.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx index d65355b4f4fe..b67b04f9666c 100644 --- a/sc/source/core/data/conditio.cxx +++ b/sc/source/core/data/conditio.cxx @@ -2269,7 +2269,7 @@ bool ScConditionalFormatList::CheckAllEntries() if ((*itr)->GetRange().empty()) { bValid = false; - m_ConditionalFormats.erase(itr++); + itr = m_ConditionalFormats.erase(itr); } else ++itr; |