User: kz      
Date: 06/02/28 02:34:28

Modified:
 /dba/connectivity/source/drivers/evoab2/
  NResultSetMetaData.hxx

Log:
 INTEGRATION: CWS evo2fixes (1.3.74); FILE MERGED
 2006/02/15 12:15:33 mmeeks 1.3.74.1: Issue numbers: i#50913#, i#62042#, 
i#55893#, i#62043#
 Submitted by: misc, Tor, Jayant, me
 Reviewed by:   mmeeks
 
 Fix a number of bugs, make it work with evo 2.4 & 2.6.

File Changes:

Directory: /dba/connectivity/source/drivers/evoab2/
===================================================

File [changed]: NResultSetMetaData.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/evoab2/NResultSetMetaData.hxx?r1=1.3&r2=1.4
Delta lines:  +10 -1
--------------------
--- NResultSetMetaData.hxx      8 Sep 2005 05:52:57 -0000       1.3
+++ NResultSetMetaData.hxx      28 Feb 2006 10:34:26 -0000      1.4
@@ -46,6 +46,9 @@
 #ifndef _CONNECTIVITY_EVOAB_CONNECTION_HXX_
 #include "NConnection.hxx"
 #endif 
+#ifndef _VOS_REF_HXX_
+#include <vos/ref.hxx>
+#endif
 #include <com/sun/star/connection/XConnection.hpp>
 namespace connectivity
 {
@@ -59,11 +62,17 @@
                class OEvoabResultSetMetaData : public  OResultSetMetaData_BASE
                {
                  ::rtl::OUString       m_aTableName;
+                  ::std::vector<sal_Int32>        m_aEvoabFields;
+
                protected:
                        virtual ~OEvoabResultSetMetaData();
                public:
                  OEvoabResultSetMetaData(const ::rtl::OUString& _aTableName);
-
+                 void setEvoabFields(const 
::vos::ORef<connectivity::OSQLColumns> &xColumns) 
throw(::com::sun::star::sdbc::SQLException);
+                 inline sal_uInt32 fieldAtColumn(sal_Int32 columnIndex) const
+                        { return m_aEvoabFields[columnIndex - 1]; }
+                 inline sal_Int32 getFieldSize() const 
+                       {return m_aEvoabFields.size();}
                  /// Avoid ambigous cast error from the compiler.
                  inline operator ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XResultSetMetaData > () throw()
                  { return this; }




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

Reply via email to