summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/ViewClipboard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/ViewClipboard.cxx')
-rw-r--r--sd/source/ui/view/ViewClipboard.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/ViewClipboard.cxx b/sd/source/ui/view/ViewClipboard.cxx
index ef088734f3c8..1fd58ecdc028 100644
--- a/sd/source/ui/view/ViewClipboard.cxx
+++ b/sd/source/ui/view/ViewClipboard.cxx
@@ -160,14 +160,14 @@ sal_uInt16 ViewClipboard::DetermineInsertPosition (
const SdTransferable& )
{
SdDrawDocument& rDoc = mrView.GetDoc();
- sal_uInt16 nPgCnt = rDoc.GetSdPageCount( PK_STANDARD );
+ sal_uInt16 nPgCnt = rDoc.GetSdPageCount( PageKind::Standard );
// Insert position is the behind the last selected page or behind the
// last page when the selection is empty.
- sal_uInt16 nInsertPos = rDoc.GetSdPageCount( PK_STANDARD ) * 2 + 1;
+ sal_uInt16 nInsertPos = rDoc.GetSdPageCount( PageKind::Standard ) * 2 + 1;
for( sal_uInt16 nPage = 0; nPage < nPgCnt; nPage++ )
{
- SdPage* pPage = rDoc.GetSdPage( nPage, PK_STANDARD );
+ SdPage* pPage = rDoc.GetSdPage( nPage, PageKind::Standard );
if( pPage->IsSelected() )
nInsertPos = nPage * 2 + 3;
@@ -204,8 +204,8 @@ sal_uInt16 ViewClipboard::InsertSlides (
pDataDocSh = static_cast<DrawDocShell*>(pShell);
SdDrawDocument* pDataDoc = pDataDocSh->GetDoc();
- if (pDataDoc!=nullptr && pDataDoc->GetSdPageCount(PK_STANDARD))
- nInsertPgCnt = pDataDoc->GetSdPageCount(PK_STANDARD);
+ if (pDataDoc!=nullptr && pDataDoc->GetSdPageCount(PageKind::Standard))
+ nInsertPgCnt = pDataDoc->GetSdPageCount(PageKind::Standard);
}
if (nInsertPgCnt > 0)
{