diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-09 18:27:16 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-09-12 13:22:04 -0400 |
commit | 7e76086272078c6f7d420e4cdc22f5d5841095b2 (patch) | |
tree | e7328fb68c3d16e4c179a3b37341628269344b0f /sc/source/ui/undo/undoblk.cxx | |
parent | 6a3a25fa40ac9a7f1f579c3fb114cbcc9ed158db (diff) |
ScPateUndo cleaned up.
Diffstat (limited to 'sc/source/ui/undo/undoblk.cxx')
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 79496b01ddd3..a5344a814d22 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -876,16 +876,13 @@ sal_Bool ScUndoCut::CanRepeat(SfxRepeatTarget& rTarget) const // Einfuegen (Paste) // -ScUndoPaste::ScUndoPaste( ScDocShell* pNewDocShell, - SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, - SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, +ScUndoPaste::ScUndoPaste( ScDocShell* pNewDocShell, const ScRange& rRange, const ScMarkData& rMark, ScDocument* pNewUndoDoc, ScDocument* pNewRedoDoc, sal_uInt16 nNewFlags, ScRefUndoData* pRefData, - void* /* pFill1 */, void* /* pFill2 */, void* /* pFill3 */, - sal_Bool bRedoIsFilled, const ScUndoPasteOptions* pOptions ) : - ScBlockUndo( pNewDocShell, ScRange( nStartX, nStartY, nStartZ, nEndX, nEndY, nEndZ ), SC_UNDO_SIMPLE ), + bool bRedoIsFilled, const ScUndoPasteOptions* pOptions ) : + ScBlockUndo( pNewDocShell, rRange, SC_UNDO_SIMPLE ), aMarkData( rMark ), pUndoDoc( pNewUndoDoc ), pRedoDoc( pNewRedoDoc ), @@ -933,7 +930,7 @@ void ScUndoPaste::SetChangeTrack() nStartChangeAction = nEndChangeAction = 0; } -void ScUndoPaste::DoChange( const sal_Bool bUndo ) +void ScUndoPaste::DoChange(bool bUndo) { ScDocument* pDoc = pDocShell->GetDocument(); |