summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 09:41:34 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 09:41:34 +0000
commit0f4bd27debdccd7e108e9bcba28eeab8f67f3ba1 (patch)
tree197f3e3ea471bcdcd277d1c22cb2d23660a1e257 /dbaccess
parent4768bd17ac889317f79137126b28d4f4c010dd76 (diff)
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: jnavrati@openoffice.org Reviewed by: frank.schoenheit@sun.com
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/tabledesign/FieldDescriptions.cxx47
1 files changed, 2 insertions, 45 deletions
diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
index 74c313eb2bf6..5b4b71c5eb1c 100644
--- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
+++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: FieldDescriptions.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: vg $ $Date: 2006-09-25 09:43:03 $
+ * last change: $Author: kz $ $Date: 2007-05-10 10:41:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -119,41 +119,6 @@ OFieldDescription::OFieldDescription( const OFieldDescription& rDescr )
{
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 @@ void OFieldDescription::SetCurrency(sal_Bool _bIsCurrency)
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) )