summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/viewshe3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewshe3.cxx')
-rw-r--r--sd/source/ui/view/viewshe3.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 29bb1c62dd3a..711239fade96 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.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
@@ -226,7 +226,7 @@ SdPage* ViewShell::CreateOrDuplicatePage (
SdPage* pTemplatePage = pPage;
if (pTemplatePage == NULL)
if (pDocument->GetSdPage(0, ePageKind) > 0)
- pTemplatePage = pDocument->GetSdPage(0, ePageKind);
+ pTemplatePage = pDocument->GetSdPage(0, ePageKind);
if (pTemplatePage != NULL && pTemplatePage->TRG_HasMasterPage())
aVisibleLayers = pTemplatePage->TRG_GetMasterPageVisibleLayers();
else
@@ -310,12 +310,12 @@ SdPage* ViewShell::CreateOrDuplicatePage (
}
bIsPageBack = pIsPageBack->GetValue ();
- bIsPageObj = pIsPageObj->GetValue ();
+ bIsPageObj = pIsPageObj->GetValue ();
}
else
{
Cancel();
-
+
if(HasCurrentFunction( SID_BEZIER_EDIT ) )
GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
@@ -403,11 +403,11 @@ SdPage* ViewShell::CreateOrDuplicatePage (
// Duplication makes no sense when pPage is NULL.
if (pPage != NULL)
nNewPageIndex = pDocument->DuplicatePage (
- pPage,
+ pPage,
ePageKind,
- aStandardPageName,
+ aStandardPageName,
aNotesPageName,
- eStandardLayout,
+ eStandardLayout,
eNotesLayout,
bIsPageBack,
bIsPageObj);