diff options
Diffstat (limited to 'xmloff/source/style/postuhdl.cxx')
-rw-r--r-- | xmloff/source/style/postuhdl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/postuhdl.cxx b/xmloff/source/style/postuhdl.cxx index 8f457c51f969..d4df03c70c08 100644 --- a/xmloff/source/style/postuhdl.cxx +++ b/xmloff/source/style/postuhdl.cxx @@ -34,7 +34,7 @@ SvXMLEnumMapEntry<FontItalic> const aPostureGenericMapping[] = { XML_POSTURE_NORMAL, ITALIC_NONE }, { XML_POSTURE_ITALIC, ITALIC_NORMAL }, { XML_POSTURE_OBLIQUE, ITALIC_OBLIQUE }, - { XML_TOKEN_INVALID, (FontItalic)0 } + { XML_TOKEN_INVALID, FontItalic(0) } }; @@ -67,7 +67,7 @@ bool XMLPosturePropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValu if( !( rValue >>= nValue ) ) return false; - eSlant = (awt::FontSlant)nValue; + eSlant = static_cast<awt::FontSlant>(nValue); } OUStringBuffer aOut; |