diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 16:15:03 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 18:40:41 +0200 |
commit | 24cb5b3cf8ea893acd4d8a43e5405459d765b314 (patch) | |
tree | 5315e4497f8f99e6c69823363df969eadc9820e0 /sfx2/source/doc | |
parent | 22e9b1188c37340941dca2cdbdca4a1d9dd474ca (diff) |
cppcheck: Missing bounds check for extra iterator increment in loop
Change-Id: Ia6f7d35acacc99b4cfe4f8b8d5a7c81e97558205
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 7551c958dfad..2f917961b1f5 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1263,6 +1263,8 @@ void SfxTemplateManagerDlg::OnFolderDelete() aFolderList = aFolderList + "\n" + (*pIter)->maTitle; ++pIter; + if (pIter == aSelFolders.end()) + break; } } |