User: hr      
Date: 05/04/06 03:40:28

Modified:
 /dba/dbaccess/source/ui/tabledesign/
  FieldDescriptions.cxx

Log:
 INTEGRATION: CWS hsqldb4 (1.17.28); FILE MERGED
 2005/03/31 11:50:21 fs 1.17.28.1: #i41785# +GetTypeName

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.17&r2=1.18
Delta lines:  +8 -0
-------------------
--- FieldDescriptions.cxx       21 Feb 2005 14:15:35 -0000      1.17
+++ FieldDescriptions.cxx       6 Apr 2005 10:40:26 -0000       1.18
@@ -553,6 +553,14 @@
                return m_pType.get() ? m_pType->nType : m_nType; 
 }
 // 
-----------------------------------------------------------------------------
+::rtl::OUString             OFieldDescription::GetTypeName()                   
const 
+{ 
+       if ( m_xDest.is() && m_xDestInfo->hasPropertyByName(PROPERTY_TYPENAME) )
+               return 
::comphelper::getString(m_xDest->getPropertyValue(PROPERTY_TYPENAME));
+       else
+               return m_pType.get() ? m_pType->aTypeName : m_sTypeName; 
+}
+// 
-----------------------------------------------------------------------------
 sal_Int32                                      
OFieldDescription::GetPrecision()                       const 
 { 
        if ( m_xDest.is() && m_xDestInfo->hasPropertyByName(PROPERTY_PRECISION) 
)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to