summaryrefslogtreecommitdiff
path: root/xmloff/source/style/breakhdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/breakhdl.cxx')
-rw-r--r--xmloff/source/style/breakhdl.cxx4
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;