User: oj      
Date: 05/07/05 00:51:15

Modified:
 /dba/connectivity/source/drivers/hsqldb/
  HTable.cxx

Log:
 remove illegal commit back to version 1.2

File Changes:

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

File [changed]: HTable.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HTable.cxx?r1=1.3&r2=1.4
Delta lines:  +2 -30
--------------------
--- HTable.cxx  5 Jul 2005 06:11:41 -0000       1.3
+++ HTable.cxx  5 Jul 2005 07:51:12 -0000       1.4
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: HTable.cxx,v $
  *
- *  $Revision: 1.3 $
+ *  $Revision: 1.4 $
  *
- *  last change: $Author: oj $ $Date: 2005/07/05 06:11:41 $
+ *  last change: $Author: oj $ $Date: 2005/07/05 07:51:12 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -348,7 +348,7 @@
        sSql += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ALTER COLUMN "));
        const ::rtl::OUString sQuote = getMetaData()->getIdentifierQuoteString( 
 );
 
-    OColumn* pColumn = new OHSQLColumn(sal_True);
+    OColumn* pColumn = new OColumn(sal_True);
        Reference<XPropertySet> xProp = pColumn;
        ::comphelper::copyProperties(_xDescriptor,xProp);
        
xProp->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE),makeAny(nNewType));
@@ -408,35 +408,7 @@
        }
 }
 // 
-----------------------------------------------------------------------------
-Sequence< Type > SAL_CALL OHSQLTable::getTypes(  ) throw(RuntimeException)
-{
-       if ( ! m_Type.compareToAscii("VIEW") )
-       {
-               Sequence< Type > aTypes = OTableHelper::getTypes();
-               ::std::vector<Type> aOwnTypes;
-               aOwnTypes.reserve(aTypes.getLength());
-               const Type* pIter = aTypes.getConstArray();
-               const Type* pEnd = pIter + aTypes.getLength();
-               for(;pIter != pEnd;++pIter)
-               {
-                       if( *pIter != ::getCppuType((const 
Reference<XRename>*)0) )
-                       {
-                               aOwnTypes.push_back(*pIter);
-                       }
-               }
-               Type *pTypes = aOwnTypes.empty() ? 0 : &aOwnTypes[0];
-               return Sequence< Type >(pTypes, aOwnTypes.size());
-       }
-       return OTableHelper::getTypes();
-}
 
-// -------------------------------------------------------------------------
-Any SAL_CALL OHSQLTable::queryInterface( const Type & rType ) 
throw(RuntimeException)
-{
-       if( !m_Type.compareToAscii("VIEW") && rType == ::getCppuType((const 
Reference<XRename>*)0) )
-               return Any();
 
-       return OTableHelper::queryInterface(rType);
-}
-// -------------------------------------------------------------------------
+
 




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

Reply via email to