summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undoblk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undoblk.cxx')
-rw-r--r--sc/source/ui/undo/undoblk.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index be9e606b4915..f6d2c1bbcbb7 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -172,7 +172,7 @@ void ScUndoInsertCells::DoChange( const bool bUndo )
if (pViewShell)
{
- const long nSign = bUndo ? -1 : 1;
+ const tools::Long nSign = bUndo ? -1 : 1;
pViewShell->OnLOKInsertDeleteRow(aEffRange.aStart.Row(), nSign * (aEffRange.aEnd.Row()-aEffRange.aStart.Row()+1));
}
}
@@ -191,7 +191,7 @@ void ScUndoInsertCells::DoChange( const bool bUndo )
if (pViewShell)
{
- const long nSign = bUndo ? -1 : 1;
+ const tools::Long nSign = bUndo ? -1 : 1;
pViewShell->OnLOKInsertDeleteColumn(aEffRange.aStart.Col(), nSign * (aEffRange.aEnd.Col()-aEffRange.aStart.Col()+1));
}
}
@@ -420,7 +420,7 @@ void ScUndoDeleteCells::DoChange( const bool bUndo )
if (pViewShell)
{
- const long nSign = bUndo ? 1 : -1;
+ const tools::Long nSign = bUndo ? 1 : -1;
pViewShell->OnLOKInsertDeleteRow(aEffRange.aStart.Row(), nSign * (aEffRange.aEnd.Row()-aEffRange.aStart.Row()+1));
}
}
@@ -438,7 +438,7 @@ void ScUndoDeleteCells::DoChange( const bool bUndo )
if (pViewShell)
{
- const long nSign = bUndo ? 1 : -1;
+ const tools::Long nSign = bUndo ? 1 : -1;
pViewShell->OnLOKInsertDeleteColumn(aEffRange.aStart.Col(), nSign * (aEffRange.aEnd.Col()-aEffRange.aStart.Col()+1));
}
}