From ab927ef78497ee308edb596cbd0dcd08a2f1cc68 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 10 May 2007 09:39:48 +0000 Subject: INTEGRATION: CWS dba23a (1.10.74); FILE MERGED 2007/02/26 10:34:02 fs 1.10.74.1: remove unused code Issue number: #i74776# Submitted by: jnavrati@openoffice.org Reviewed by: frank.schoenheit@sun.com --- .../ui/querydesign/TableFieldDescription.cxx | 48 +--------------------- 1 file changed, 2 insertions(+), 46 deletions(-) (limited to 'dbaccess/source/ui/querydesign/TableFieldDescription.cxx') diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx index 51f07c4b4aba..ccce870617c7 100644 --- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx +++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TableFieldDescription.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: obo $ $Date: 2006-09-17 07:25:02 $ + * last change: $Author: kz $ $Date: 2007-05-10 10:39:48 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -129,29 +129,6 @@ sal_Bool OTableFieldDesc::operator==( const OTableFieldDesc& rDesc ) m_bVisible != rDesc.IsVisible() ); } -// ----------------------------------------------------------------------------- -void OTableFieldDesc::clear() -{ - m_vecCriteria.clear(); - ::std::vector< ::rtl::OUString>().swap( m_vecCriteria ); - m_aTableName = m_aAliasName = m_aFieldName = m_aFieldAlias = m_aFunctionName = ::rtl::OUString(); - m_pTabWindow = NULL; - m_eDataType = 1000; - m_bVisible = sal_False; - m_eOrderDir = ORDER_NONE; - m_eFunctionType = FKT_NONE; - m_bGroupBy = sal_False; -} - -//------------------------------------------------------------------------------ -void OTableFieldDesc::NextOrderDir() -{ - DBG_CHKTHIS(OTableFieldDesc,NULL); - int nTmp = ((int)m_eOrderDir); - nTmp++; - nTmp %= (ORDER_DESC+1); - m_eOrderDir = EOrderDir(nTmp); -} //------------------------------------------------------------------------------ void OTableFieldDesc::SetCriteria( sal_uInt16 nIdx, const ::rtl::OUString& rCrit) @@ -178,27 +155,6 @@ void OTableFieldDesc::SetCriteria( sal_uInt16 nIdx, const ::rtl::OUString& rCrit return aRetStr; } -//------------------------------------------------------------------------------ -sal_Bool OTableFieldDesc::IsNumericDataType() const -{ - DBG_CHKTHIS(OTableFieldDesc,NULL); - sal_Bool bErg(sal_False); - switch (m_eDataType) - { - case DataType::BIT: - case DataType::BOOLEAN: - case DataType::TINYINT: - case DataType::SMALLINT: - case DataType::INTEGER: - case DataType::REAL: - case DataType::DOUBLE: - case DataType::BIGINT: - case DataType::DECIMAL: - case DataType::NUMERIC: - bErg = sal_True; - } - return bErg; -} // ----------------------------------------------------------------------------- void OTableFieldDesc::Load(const ::com::sun::star::beans::PropertyValue& _rProperty) { -- cgit v1.2.3