summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undoblk2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undoblk2.cxx')
-rw-r--r--sc/source/ui/undo/undoblk2.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/undo/undoblk2.cxx b/sc/source/ui/undo/undoblk2.cxx
index 2ab03eb71923..bf9540ce7cf1 100644
--- a/sc/source/ui/undo/undoblk2.cxx
+++ b/sc/source/ui/undo/undoblk2.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
@@ -52,14 +52,14 @@
// STATIC DATA -----------------------------------------------------------
-TYPEINIT1(ScUndoWidthOrHeight, SfxUndoAction);
+TYPEINIT1(ScUndoWidthOrHeight, SfxUndoAction);
// -----------------------------------------------------------------------
//
-// Spaltenbreiten oder Zeilenhoehen aendern
+// Spaltenbreiten oder Zeilenhoehen aendern
//
ScUndoWidthOrHeight::ScUndoWidthOrHeight( ScDocShell* pNewDocShell,
@@ -123,12 +123,12 @@ void __EXPORT ScUndoWidthOrHeight::Undo()
{
pViewShell->SetMarkData( aMarkData );
- nPaintStart = 0; // paint all, because of changed selection
+ nPaintStart = 0; // paint all, because of changed selection
}
}
- //! outlines from all tables?
- if (pUndoTab) // Outlines mit gespeichert?
+ //! outlines from all tables?
+ if (pUndoTab) // Outlines mit gespeichert?
pDoc->SetOutlineTable( nStartTab, pUndoTab );
SCTAB nTabCount = pDoc->GetTableCount();
@@ -136,7 +136,7 @@ void __EXPORT ScUndoWidthOrHeight::Undo()
for (nTab=0; nTab<nTabCount; nTab++)
if (aMarkData.GetTableSelect(nTab))
{
- if (bWidth) // Width
+ if (bWidth) // Width
{
pUndoDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab,
static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE,
@@ -145,7 +145,7 @@ void __EXPORT ScUndoWidthOrHeight::Undo()
pDocShell->PostPaint( static_cast<SCCOL>(nPaintStart), 0, nTab,
MAXCOL, MAXROW, nTab, PAINT_GRID | PAINT_TOP );
}
- else // Height
+ else // Height
{
pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, FALSE, pDoc );
pDoc->UpdatePageBreaks( nTab );
@@ -180,7 +180,7 @@ void __EXPORT ScUndoWidthOrHeight::Redo()
{
pViewShell->SetMarkData( aMarkData );
- bPaintAll = TRUE; // paint all, because of changed selection
+ bPaintAll = TRUE; // paint all, because of changed selection
}
}