diff options
Diffstat (limited to 'xmloff/source/style/breakhdl.cxx')
-rw-r--r-- | xmloff/source/style/breakhdl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/breakhdl.cxx b/xmloff/source/style/breakhdl.cxx index 9a0d844478e2..9acc14bff932 100644 --- a/xmloff/source/style/breakhdl.cxx +++ b/xmloff/source/style/breakhdl.cxx @@ -81,7 +81,7 @@ bool XMLFmtBreakBeforePropHdl::exportXML( OUString& rStrExpValue, const uno::Any if( !( rValue >>= nValue ) ) return false; - eBreak = (style::BreakType) nValue; + eBreak = static_cast<style::BreakType>(nValue); } sal_uInt16 nEnum = 0; @@ -151,7 +151,7 @@ bool XMLFmtBreakAfterPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& if( !( rValue >>= nValue ) ) return false; - eBreak = (style::BreakType) nValue; + eBreak = static_cast<style::BreakType>(nValue); } sal_uInt16 nEnum = 0; |