summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-10-25 16:53:19 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-10-25 16:53:19 +0000
commit662a712cbd46e233944b2e623dfa92cd77871bfc (patch)
tree8f210ff1d8efc24f3eb41dfa5ab9bd5799445884 /forms
parent0f93441e80b7f147158dab00724c72762e5a67e8 (diff)
#92924#: removed cast
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/RadioButton.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/RadioButton.cxx b/forms/source/component/RadioButton.cxx
index cfd83b1448a0..6a6744bf45e5 100644
--- a/forms/source/component/RadioButton.cxx
+++ b/forms/source/component/RadioButton.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: RadioButton.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: fs $ $Date: 2001-04-02 10:28:06 $
+ * last change: $Author: hr $ $Date: 2001-10-25 17:53:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -239,7 +239,7 @@ void ORadioButtonModel::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, cons
case PROPERTY_ID_DEFAULTCHECKED :
DBG_ASSERT(rValue.getValueType().getTypeClass() == TypeClass_SHORT, "ORadioButtonModel::setFastPropertyValue_NoBroadcast : invalid type !" );
- rValue >>= (sal_Int16)m_nDefaultChecked;
+ rValue >>= m_nDefaultChecked;
_reset();
break;
@@ -405,15 +405,15 @@ void SAL_CALL ORadioButtonModel::read(const Reference<XObjectInputStream>& _rxIn
switch (nVersion)
{
- case 0x0001 : _rxInStream >> m_sReferenceValue; _rxInStream >> (sal_Int16)m_nDefaultChecked; break;
+ case 0x0001 : _rxInStream >> m_sReferenceValue; _rxInStream >> m_nDefaultChecked; break;
case 0x0002 :
_rxInStream >> m_sReferenceValue;
- _rxInStream >> (sal_Int16)m_nDefaultChecked;
+ _rxInStream >> m_nDefaultChecked;
readHelpTextCompatibly(_rxInStream);
break;
case 0x0003 :
_rxInStream >> m_sReferenceValue;
- _rxInStream >> (sal_Int16)m_nDefaultChecked;
+ _rxInStream >> m_nDefaultChecked;
readHelpTextCompatibly(_rxInStream);
readCommonProperties(_rxInStream);
break;