diff options
Diffstat (limited to 'sd/source/ui/func/fuprlout.cxx')
-rw-r--r-- | sd/source/ui/func/fuprlout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx index edb39f5b8961..d3d78f3c8991 100644 --- a/sd/source/ui/func/fuprlout.cxx +++ b/sd/source/ui/func/fuprlout.cxx @@ -114,7 +114,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq ) for (auto it = xSelection->begin(); it != xSelection->end(); ++it) { SdPage *pPage = *it; - if (pPage->IsSelected() || pPage->GetPageKind() != PK_STANDARD) + if (pPage->IsSelected() || pPage->GetPageKind() != PageKind::Standard) continue; mpDoc->SetSelected(pPage, true); aUnselect.push_back(pPage); @@ -126,9 +126,9 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq ) std::vector<SdPage*> aSelectedPages; std::vector<sal_uInt16> aSelectedPageNums; // determine the active pages - for (sal_uInt16 nPage = 0; nPage < mpDoc->GetSdPageCount(PK_STANDARD); nPage++) + for (sal_uInt16 nPage = 0; nPage < mpDoc->GetSdPageCount(PageKind::Standard); nPage++) { - SdPage* pPage = mpDoc->GetSdPage(nPage, PK_STANDARD); + SdPage* pPage = mpDoc->GetSdPage(nPage, PageKind::Standard); if (pPage->IsSelected()) { aSelectedPages.push_back(pPage); @@ -251,7 +251,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq ) { sal_uInt16 nPgNum = pSelectedPage->TRG_GetMasterPage().GetPageNum(); - if (static_cast<DrawViewShell*>(mpViewShell)->GetPageKind() == PK_NOTES) + if (static_cast<DrawViewShell*>(mpViewShell)->GetPageKind() == PageKind::Notes) nPgNum++; pView->HideSdrPage(); |