summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rwxr-xr-xsd/source/ui/view/drviews2.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 3102dc726a61..7aaba7d9c4fa 100755
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -958,7 +958,8 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
SdPage* DrawViewShell::CreateOrDuplicatePage (
SfxRequest& rRequest,
PageKind ePageKind,
- SdPage* pPage)
+ SdPage* pPage,
+ const sal_Int32 nInsertPosition)
{
SdPage* pNewPage = NULL;
if (ePageKind == PK_STANDARD && meEditMode != EM_MASTERPAGE)
@@ -967,7 +968,7 @@ SdPage* DrawViewShell::CreateOrDuplicatePage (
{
mpDrawView->SdrEndTextEdit();
}
- pNewPage = ViewShell::CreateOrDuplicatePage (rRequest, ePageKind, pPage);
+ pNewPage = ViewShell::CreateOrDuplicatePage (rRequest, ePageKind, pPage, nInsertPosition);
}
return pNewPage;
}