Tag: cws_src680_hsqldb4
User: fs      
Date: 05/03/31 03:50:23

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

Log:
 #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.17.28.1
Delta lines:  +11 -3
--------------------
--- FieldDescriptions.cxx       21 Feb 2005 14:15:35 -0000      1.17
+++ FieldDescriptions.cxx       31 Mar 2005 11:50:21 -0000      1.17.28.1
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: FieldDescriptions.cxx,v $
  *
- *  $Revision: 1.17 $
+ *  $Revision: 1.17.28.1 $
  *
- *  last change: $Author: vg $ $Date: 2005/02/21 14:15:35 $
+ *  last change: $Author: fs $ $Date: 2005/03/31 11:50:21 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -551,6 +551,14 @@
                return 
::comphelper::getINT32(m_xDest->getPropertyValue(PROPERTY_TYPE));
        else
                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 




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

Reply via email to