summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/editsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/editsh.cxx')
-rw-r--r--sc/source/ui/view/editsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index 9cbac20a0fc8..2b08da9db8ca 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -614,7 +614,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
if (!bDone)
{
pViewData->GetViewShell()->
- InsertURL( rName, rURL, rTarget, (sal_uInt16) eMode );
+ InsertURL( rName, rURL, rTarget, static_cast<sal_uInt16>(eMode) );
// when "Button", the InsertURL in ViewShell turns the EditShell off
// thus the immediate return statement