diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-22 22:16:20 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-30 19:37:53 -0400 |
commit | 82b6427174692248f73f1b99f19faf46a13d3e4f (patch) | |
tree | fbd89cc691fe661ecf361ee20e16d019265d84e8 /sc/source/ui/undo | |
parent | ed4f0a52f0110557f86a63d9758a71c6b2e09e06 (diff) |
Use enum for table op mode.
Change-Id: I51e110fb0a2b72689f529d7094389cc3e20dfbe0
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undoblk3.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index 2037eb7bb1ec..c3953c69afb8 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -1086,7 +1086,7 @@ ScUndoTabOp::ScUndoTabOp( ScDocShell* pNewDocShell, const ScRefAddress& rFormulaEnd, const ScRefAddress& rRowCell, const ScRefAddress& rColCell, - sal_uInt8 nMd ) + ScTabOpParam::Mode eMode ) : ScSimpleUndo( pNewDocShell ), aRange ( nStartX, nStartY, nStartZ, nEndX, nEndY, nEndZ ), pUndoDoc ( pNewUndoDoc ), @@ -1094,7 +1094,7 @@ ScUndoTabOp::ScUndoTabOp( ScDocShell* pNewDocShell, theFormulaEnd ( rFormulaEnd ), theRowCell ( rRowCell ), theColCell ( rColCell ), - nMode ( nMd ) + meMode(eMode) { } @@ -1135,9 +1135,7 @@ void ScUndoTabOp::Redo() ScUndoUtil::MarkSimpleBlock( pDocShell, aRange ); - ScTabOpParam aParam( theFormulaCell, theFormulaEnd, - theRowCell, theColCell, - nMode ); + ScTabOpParam aParam(theFormulaCell, theFormulaEnd, theRowCell, theColCell, meMode); ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell(); if (pViewShell) |