Tag: cws_src680_kaddrbook User: ebischoff Date: 05/09/02 07:09:41 Modified: /dba/connectivity/source/drivers/kab/ KResultSet.cxx
Log: Ooops File Changes: Directory: /dba/connectivity/source/drivers/kab/ ================================================ File [changed]: KResultSet.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KResultSet.cxx?r1=1.1.2.4&r2=1.1.2.5 Delta lines: +2 -26 -------------------- --- KResultSet.cxx 2 Sep 2005 13:50:49 -0000 1.1.2.4 +++ KResultSet.cxx 2 Sep 2005 14:09:38 -0000 1.1.2.5 @@ -2,9 +2,9 @@ * * $RCSfile: KResultSet.cxx,v $ * - * $Revision: 1.1.2.4 $ + * $Revision: 1.1.2.5 $ * - * last change: $Author: ebischoff $ $Date: 2005/09/02 13:50:49 $ + * last change: $Author: ebischoff $ $Date: 2005/09/02 14:09:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -96,30 +96,6 @@ using namespace com::sun::star::util; IMPLEMENT_SERVICE_INFO(KabResultSet, "com.sun.star.sdbc.drivers.KabResultSet", "com.sun.star.sdbc.ResultSet"); -//------------------------------------------------------------------------------ -::rtl::OUString SAL_CALL KabResultSet::getImplementationName( ) throw ( RuntimeException) \ -{ - return ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.kab.ResultSet"); -} -// ------------------------------------------------------------------------- -Sequence< ::rtl::OUString > SAL_CALL KabResultSet::getSupportedServiceNames( ) throw( RuntimeException) -{ - Sequence< ::rtl::OUString > aSupported(2); - aSupported[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdbc.ResultSet"); - aSupported[1] = ::rtl::OUString::createFromAscii("com.sun.star.sdbcx.ResultSet"); - return aSupported; -} -// ------------------------------------------------------------------------- -sal_Bool SAL_CALL KabResultSet::supportsService( const ::rtl::OUString& _rServiceName ) throw( RuntimeException) -{ - Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames()); - const ::rtl::OUString* pSupported = aSupported.getConstArray(); - const ::rtl::OUString* pEnd = pSupported + aSupported.getLength(); - for (;pSupported != pEnd && !pSupported->equals(_rServiceName); ++pSupported) - ; - - return pSupported != pEnd; -} // ------------------------------------------------------------------------- KabResultSet::KabResultSet(KabCommonStatement* pStmt) : KabResultSet_BASE(m_aMutex), --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
