summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshe.cxx')
-rw-r--r--sc/source/ui/view/tabvwshe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index fe0ae20854f3..d7cac6b903b0 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -121,7 +121,7 @@ OUString ScTabViewShell::GetSelectionText( bool bWholeWord )
void ScTabViewShell::InsertURL( const OUString& rName, const OUString& rURL, const OUString& rTarget,
sal_uInt16 nMode )
{
- SvxLinkInsertMode eMode = (SvxLinkInsertMode) nMode;
+ SvxLinkInsertMode eMode = static_cast<SvxLinkInsertMode>(nMode);
bool bAsText = ( eMode != HLINK_BUTTON ); // default is now text
if ( bAsText )