summaryrefslogtreecommitdiff
path: root/forms/source/component/ComboBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/ComboBox.cxx')
-rw-r--r--forms/source/component/ComboBox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index 11398fdc8305..29024717a5d0 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -351,7 +351,7 @@ void SAL_CALL OComboBoxModel::write(const Reference<css::io::XObjectOutputStream
css::uno::Sequence<OUString> aListSourceSeq(&m_aListSource, 1);
_rxOutStream << aListSourceSeq;
- _rxOutStream << (sal_Int16)m_eListSourceType;
+ _rxOutStream << static_cast<sal_Int16>(m_eListSourceType);
if ((nAnyMask & BOUNDCOLUMN) == BOUNDCOLUMN)
{
@@ -423,7 +423,7 @@ void SAL_CALL OComboBoxModel::read(const Reference<css::io::XObjectInputStream>&
sal_Int16 nListSourceType;
_rxInStream >> nListSourceType;
- m_eListSourceType = (ListSourceType)nListSourceType;
+ m_eListSourceType = static_cast<ListSourceType>(nListSourceType);
if ((nAnyMask & BOUNDCOLUMN) == BOUNDCOLUMN)
{