tdf#145538 Range based for loop cannot be used in SfxBroadcaster.cxx
The loops in this file cannot be range-based because vectors can change size inside the loop. Change-Id: I0f3d3d768b69bb280962541a237f5ec02874dbdc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175866 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
35dbbcefb2
commit
3b8d833dba
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@
|
|||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
// Note: The loops in this file cannot be range-based
|
||||
// because vectors can change size during the loops.
|
||||
|
||||
// broadcast immediately
|
||||
|
||||
void SfxBroadcaster::Broadcast(const SfxHint& rHint)
|
||||
|
|
Loading…
Reference in a new issue