summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undocell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undocell.cxx')
-rw-r--r--sc/source/ui/undo/undocell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index 13314009be56..972b8d76032f 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -875,7 +875,7 @@ ScUndoDetective::ScUndoDetective( ScDocShell* pNewDocShell,
bIsDelete = ( pOperation == nullptr );
if (!bIsDelete)
{
- nAction = (sal_uInt16) pOperation->GetOperation();
+ nAction = static_cast<sal_uInt16>(pOperation->GetOperation());
aPos = pOperation->GetPos();
}
}