diff options
Diffstat (limited to 'sd/source/ui/view/ViewClipboard.cxx')
-rw-r--r-- | sd/source/ui/view/ViewClipboard.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/view/ViewClipboard.cxx b/sd/source/ui/view/ViewClipboard.cxx index e7e3e7c53a5a..87ad96dd2f8d 100644 --- a/sd/source/ui/view/ViewClipboard.cxx +++ b/sd/source/ui/view/ViewClipboard.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -88,7 +88,7 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable) const List* pBookmarks = &rTransferable.GetPageBookmarks(); if (pBookmarks == NULL) break; - + DrawDocShell* pDocShell = rTransferable.GetPageDocShell(); if (pDocShell == NULL) break; @@ -105,7 +105,7 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable) { String sName (*(String*) pBookmarks->GetObject(nIndex)); BOOL bIsMasterPage; - + // SdPage* GetMasterSdPage(USHORT nPgNum, PageKind ePgKind); // USHORT GetMasterSdPageCount(PageKind ePgKind) const; @@ -251,23 +251,23 @@ USHORT ViewClipboard::InsertSlides ( if( bWait ) pWin->LeaveWait(); - + pDoc->InsertBookmarkAsPage( - const_cast<List*>(pBookmarkList), - NULL, - FALSE, - FALSE, + const_cast<List*>(pBookmarkList), + NULL, + FALSE, + FALSE, nInsertPosition, (&rTransferable == SD_MOD()->pTransferDrag), - pDataDocSh, - TRUE, - bMergeMasterPages, + pDataDocSh, + TRUE, + bMergeMasterPages, FALSE); if( bWait ) pWin->EnterWait(); } - + return nInsertPgCnt; } |