summaryrefslogtreecommitdiff
path: root/forms/source/component
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:48:09 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 11:48:09 +0000
commit6c041aae34dc7b1ec0b64d12552a5d039b6c9f8f (patch)
tree55adee6d453d0225d2b18f366e2cba3fc2e28bc6 /forms/source/component
parent5ef31e4db45b9a96af0eb57fac976bb3ce10c696 (diff)
INTEGRATION: CWS warnings01 (1.12.68); FILE MERGED
2006/03/15 07:55:31 fs 1.12.68.2: #i57457# warning-free code (unxsols4) 2006/03/14 15:20:25 fs 1.12.68.1: #i57457# warning-free code
Diffstat (limited to 'forms/source/component')
-rw-r--r--forms/source/component/EditBase.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/EditBase.cxx b/forms/source/component/EditBase.cxx
index 3eb991d54358..9826c993114a 100644
--- a/forms/source/component/EditBase.cxx
+++ b/forms/source/component/EditBase.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: EditBase.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:37:50 $
+ * last change: $Author: hr $ $Date: 2006-06-19 12:48:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -85,9 +85,9 @@ DBG_NAME( OEditBaseModel )
OEditBaseModel::OEditBaseModel( const Reference< XMultiServiceFactory >& _rxFactory, const ::rtl::OUString& rUnoControlModelName,
const ::rtl::OUString& rDefault, const sal_Bool _bSupportExternalBinding, const sal_Bool _bSupportsValidation )
:OBoundControlModel( _rxFactory, rUnoControlModelName, rDefault, sal_True, _bSupportExternalBinding, _bSupportsValidation )
- ,m_bFilterProposal(sal_False)
- ,m_bEmptyIsNull(sal_True)
,m_nLastReadVersion(0)
+ ,m_bEmptyIsNull(sal_True)
+ ,m_bFilterProposal(sal_False)
{
DBG_CTOR( OEditBaseModel, NULL );
}
@@ -183,7 +183,9 @@ void OEditBaseModel::read(const Reference<XObjectInputStream>& _rxInStream) thro
sal_Bool bHandleCommonProps = (nVersion & PF_HANDLE_COMMON_PROPS) != 0;
nVersion = nVersion & ~PF_SPECIAL_FLAGS;
- sal_uInt16 nOld = _rxInStream->readShort();
+ // obsolete
+ _rxInStream->readShort();
+
_rxInStream >> m_aDefaultText;
if (nVersion >= 0x0003)
@@ -417,10 +419,8 @@ Any OEditBaseModel::getPropertyDefaultByHandle( sal_Int32 nHandle ) const
{
case PROPERTY_ID_DEFAULT_TEXT:
return makeAny(::rtl::OUString());
- break;
case PROPERTY_ID_FILTERPROPOSAL:
return Any(makeAny((sal_Bool)sal_False));
- break;
case PROPERTY_ID_DEFAULT_VALUE:
case PROPERTY_ID_DEFAULT_DATE:
case PROPERTY_ID_DEFAULT_TIME: