diff options
Diffstat (limited to 'sd/source/ui/func/fuprlout.cxx')
-rw-r--r-- | sd/source/ui/func/fuprlout.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx index 5cea52322ca9..9f33a572bd84 100644 --- a/sd/source/ui/func/fuprlout.cxx +++ b/sd/source/ui/func/fuprlout.cxx @@ -108,9 +108,8 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq ) pSlideSorterViewShell->GetPageSelection()); if (xSelection) { - for (auto it = xSelection->begin(); it != xSelection->end(); ++it) + for (SdPage *pPage : *xSelection) { - SdPage *pPage = *it; if (pPage->IsSelected() || pPage->GetPageKind() != PageKind::Standard) continue; mpDoc->SetSelected(pPage, true); |