summaryrefslogtreecommitdiffstats
path: root/editeng/source/items/writingmodeitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items/writingmodeitem.cxx')
-rw-r--r--editeng/source/items/writingmodeitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/writingmodeitem.cxx b/editeng/source/items/writingmodeitem.cxx
index 00410af6ed71..52e4bcaeef92 100644
--- a/editeng/source/items/writingmodeitem.cxx
+++ b/editeng/source/items/writingmodeitem.cxx
@@ -86,7 +86,7 @@ bool SvxWritingModeItem::PutValue( const css::uno::Any& rVal, sal_uInt8 )
case WritingMode_LR_TB:
case WritingMode_RL_TB:
case WritingMode_TB_RL:
- SetValue( (sal_uInt16)nVal );
+ SetValue( static_cast<sal_uInt16>(nVal) );
bRet = true;
break;
default: