User: kz Date: 2007-05-10 10:41:36+0000 Log: INTEGRATION: CWS dba23a (1.24.66); FILE MERGED 2007/02/26 11:48:21 fs 1.24.66.1: remove unused code Issue number: #i74804# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED]
File Changes: Directory: /dba/dbaccess/source/ui/tabledesign/ =============================================== File [changed]: FieldDescriptions.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx?r1=1.24&r2=1.25 Delta lines: +0 -43 -------------------- --- FieldDescriptions.cxx 2006-09-25 09:43:03+0000 1.24 +++ FieldDescriptions.cxx 2007-05-10 10:41:34+0000 1.25 @@ -119,41 +119,6 @@ { DBG_CTOR(OFieldDescription,NULL); } -// ----------------------------------------------------------------------------- -OFieldDescription::OFieldDescription( const ::rtl::OUString& _sName, - const ::rtl::OUString& _sTypeName, - const ::rtl::OUString& _sDescription, - const ::com::sun::star::uno::Any& _aDefaultValue, - const ::com::sun::star::uno::Any& _aControlDefault, - const ::rtl::OUString& _sAutoIncrementValue, - const TOTypeInfoSP& _pType, - sal_Int32 _nPrecision, - sal_Int32 _nScale, - sal_Int32 _nIsNullable, - sal_Int32 _nFormatKey, - SvxCellHorJustify _eHorJustify, - sal_Bool _bIsAutoIncrement, - sal_Bool _bIsPrimaryKey, - sal_Bool _bIsCurrency) - :m_aDefaultValue(_aDefaultValue) - ,m_aControlDefault(_aControlDefault) - ,m_pType(_pType) - ,m_sName(_sName) - ,m_sTypeName(_sTypeName) - ,m_sDescription(_sDescription) - ,m_sAutoIncrementValue(_sAutoIncrementValue) - ,m_nPrecision(_nPrecision) - ,m_nScale(_nScale) - ,m_nIsNullable(_nIsNullable) - ,m_nFormatKey(_nFormatKey) - ,m_eHorJustify(_eHorJustify) - ,m_bIsAutoIncrement(_bIsAutoIncrement) - ,m_bIsPrimaryKey(_bIsPrimaryKey) - ,m_bIsCurrency(_bIsCurrency) - ,m_bHidden(sal_False) -{ - DBG_DTOR(OFieldDescription,NULL); -} //------------------------------------------------------------------------------ OFieldDescription::~OFieldDescription() @@ -518,14 +483,6 @@ return m_sDescription; } // ----------------------------------------------------------------------------- -::com::sun::star::uno::Any OFieldDescription::GetDefaultValue() const -{ - if ( m_xDest.is() && m_xDestInfo->hasPropertyByName(PROPERTY_DEFAULTVALUE) ) - return m_xDest->getPropertyValue(PROPERTY_DEFAULTVALUE); - else - return m_aDefaultValue; -} -// ----------------------------------------------------------------------------- ::com::sun::star::uno::Any OFieldDescription::GetControlDefault() const { if ( m_xDest.is() && m_xDestInfo->hasPropertyByName(PROPERTY_CONTROLDEFAULT) ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
