sfx2: add comment to avoid range-based for loop
Change-Id: I7bdbe6eec52bdf76e1b93729e73d10b8be974fcc
This commit is contained in:
@@ -1290,9 +1290,11 @@ void SfxWorkWindow::UpdateObjectBars_Impl()
|
|||||||
|
|
||||||
void SfxWorkWindow::UpdateChildWindows_Impl()
|
void SfxWorkWindow::UpdateChildWindows_Impl()
|
||||||
{
|
{
|
||||||
// any current or in the context available Childwindows
|
// tdf#100870, tdf#101320: don't use range-based for loop when
|
||||||
|
// container is modified
|
||||||
for ( size_t n=0; n<aChildWins.size(); n++ )
|
for ( size_t n=0; n<aChildWins.size(); n++ )
|
||||||
{
|
{
|
||||||
|
// any current or in the context available Childwindows
|
||||||
SfxChildWin_Impl *pCW = aChildWins[n];
|
SfxChildWin_Impl *pCW = aChildWins[n];
|
||||||
SfxChildWindow *pChildWin = pCW->pWin;
|
SfxChildWindow *pChildWin = pCW->pWin;
|
||||||
bool bCreate = false;
|
bool bCreate = false;
|
||||||
|
Reference in New Issue
Block a user