summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undobase.cxx
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2012-08-25 01:24:58 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2012-08-25 01:27:53 +0200
commit98e9cc1796f93447fe7e5c1a6e2683d10389b01c (patch)
tree3043aa136cf5604a914cdcb58ff15a6db80d339c /sc/source/ui/undo/undobase.cxx
parentaad3cc3db08c40e62ce2d7f1105455fec9fab4a2 (diff)
fdo#39468: Translated German comments in sc/source/ui/undo
Eike and I reviewed the patch at the same time. However, he was was faster ;-) Consequently, with this commit I include the fixes for my remarks previously done in Gerrit as well as for Eike's comments. This is a follow-up patch of 06f611210cf487dcd32aa7ccfaae5ed80124e439. Change-Id: I6ee721f15852e1023c8b3e4f0b580435ee52c0c6
Diffstat (limited to 'sc/source/ui/undo/undobase.cxx')
-rw-r--r--sc/source/ui/undo/undobase.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 0ebd77f61c93..b6c3583acaa9 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -77,17 +77,17 @@ bool ScSimpleUndo::SetViewMarkData( const ScMarkData& rMarkData )
sal_Bool ScSimpleUndo::Merge( SfxUndoAction *pNextAction )
{
- // A SdrUndoGroup for the updating of detective arrows can belong
+ // A SdrUndoGroup for updating detective arrows can belong
// to each Undo-Action.
// DetectiveRefresh is always called next,
- // the SdrUndoGroup is packaged in a ScUndoDraw action.
+ // the SdrUndoGroup is encapsulated in a ScUndoDraw action.
// AddUndoAction is only called with bTryMerg=sal_True
// for automatic update.
if ( !pDetectiveUndo && pNextAction->ISA(ScUndoDraw) )
{
- // SdrUndoAction is aquired from ScUndoDraw Action,
- // ScUndoDraw is then deleted by the UndoManager
+ // Take SdrUndoAction from ScUndoDraw Action,
+ // ScUndoDraw is later deleted by the UndoManager
ScUndoDraw* pCalcUndo = (ScUndoDraw*)pNextAction;
pDetectiveUndo = pCalcUndo->GetDrawUndo();
@@ -168,7 +168,7 @@ void ScSimpleUndo::ShowTable( const ScRange& rRange )
SCTAB nStart = rRange.aStart.Tab();
SCTAB nEnd = rRange.aEnd.Tab();
SCTAB nTab = pViewShell->GetViewData()->GetTabNo();
- if ( nTab < nStart || nTab > nEnd ) // when not in range:
+ if ( nTab < nStart || nTab > nEnd ) // if not in range:
pViewShell->SetTabNo( nStart ); // at beginning of the range
}
}
@@ -270,7 +270,7 @@ void ScBlockUndo::ShowBlock()
aRange.aEnd.SetTab( nTab );
pViewShell->MarkRange( aRange );
- // not through SetMarkArea to Mark Data, due to possible lacking paint
+ // not through SetMarkArea to MarkData, due to possibly lacking paint
}
}
@@ -415,7 +415,7 @@ void ScMoveUndo::UndoRef()
pRefUndoData->DoUndo( pDoc, (eMode == SC_UNDO_REFFIRST) );
// HACK: ScDragDropUndo is the only one with REFFIRST.
// If not, results possibly in a too frequent adjustment
- // of ChartRefs not that pretty, but not too bad either..
+ // of ChartRefs. Not that pretty, but not too bad either..
}
void ScMoveUndo::BeginUndo()