summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/unmodpg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/unmodpg.cxx')
-rw-r--r--sd/source/ui/view/unmodpg.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 5a7f9830895e..5c0ecde0207b 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -1,7 +1,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
@@ -60,21 +60,21 @@ ModifyPageUndoAction::ModifyPageUndoAction(
SdDrawDocument* pTheDoc,
SdPage* pThePage,
String aTheNewName,
- AutoLayout eTheNewAutoLayout,
+ AutoLayout eTheNewAutoLayout,
BOOL bTheNewBckgrndVisible,
BOOL bTheNewBckgrndObjsVisible)
-: SdUndoAction(pTheDoc),
+: SdUndoAction(pTheDoc),
mpManager(pTheManager)
{
DBG_ASSERT(pThePage, "Undo ohne Seite ???");
- mpPage = pThePage;
- maNewName = aTheNewName;
- meNewAutoLayout = eTheNewAutoLayout;
- mbNewBckgrndVisible = bTheNewBckgrndVisible;
- mbNewBckgrndObjsVisible = bTheNewBckgrndObjsVisible;
+ mpPage = pThePage;
+ maNewName = aTheNewName;
+ meNewAutoLayout = eTheNewAutoLayout;
+ mbNewBckgrndVisible = bTheNewBckgrndVisible;
+ mbNewBckgrndObjsVisible = bTheNewBckgrndObjsVisible;
- meOldAutoLayout = mpPage->GetAutoLayout();
+ meOldAutoLayout = mpPage->GetAutoLayout();
if (!mpPage->IsMasterPage())
{
@@ -104,7 +104,7 @@ void ModifyPageUndoAction::Undo()
// which are no longer allowed to be selected then.
SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
-
+
while(pView)
{
if(pView->AreObjectsMarked())
@@ -153,7 +153,7 @@ void ModifyPageUndoAction::Redo()
// which are no longer allowed to be selected then.
SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
-
+
while(pView)
{
if(pView->AreObjectsMarked())
@@ -244,6 +244,6 @@ void RenameLayoutTemplateUndoAction::Redo()
String RenameLayoutTemplateUndoAction::GetComment() const
{
- return maComment;
+ return maComment;
}