Tag: cws_src680_kaddrbook User: ebischoff Date: 05/11/24 03:13:06 Modified: /dba/connectivity/source/drivers/kab/ KDatabaseMetaData.cxx, KDatabaseMetaData.hxx
Log: Cleaner code File Changes: Directory: /dba/connectivity/source/drivers/kab/ ================================================ File [changed]: KDatabaseMetaData.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KDatabaseMetaData.cxx?r1=1.1.2.8&r2=1.1.2.9 Delta lines: +10 -5 -------------------- --- KDatabaseMetaData.cxx 22 Nov 2005 12:34:08 -0000 1.1.2.8 +++ KDatabaseMetaData.cxx 24 Nov 2005 11:13:01 -0000 1.1.2.9 @@ -2,9 +2,9 @@ * * $RCSfile: KDatabaseMetaData.cxx,v $ * - * $Revision: 1.1.2.8 $ + * $Revision: 1.1.2.9 $ * - * last change: $Author: ebischoff $ $Date: 2005/11/22 12:34:08 $ + * last change: $Author: ebischoff $ $Date: 2005/11/24 11:13:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,9 +88,6 @@ using namespace com::sun::star::beans; using namespace com::sun::star::sdbc; -const ::rtl::OUString KabDatabaseMetaData::m_aAddressBookTableName - (::rtl::OUString::createFromAscii("KDE Address Book")); -// ------------------------------------------------------------------------- KabDatabaseMetaData::KabDatabaseMetaData(KabConnection* _pCon) : m_xConnection(_pCon), m_bUseCatalog(sal_True) @@ -104,6 +101,14 @@ // ------------------------------------------------------------------------- KabDatabaseMetaData::~KabDatabaseMetaData() { +} +// ------------------------------------------------------------------------- +const ::rtl::OUString & KabDatabaseMetaData::getAddressBookTableName() const; +{ + static const ::rtl::OUString aAddressBookTableName + (::rtl::OUString::createFromAscii("KDE Address Book")); + + return aAddressBookTableName; } // ------------------------------------------------------------------------- ::rtl::OUString SAL_CALL KabDatabaseMetaData::getCatalogSeparator( ) throw(SQLException, RuntimeException) File [changed]: KDatabaseMetaData.hxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/kab/KDatabaseMetaData.hxx?r1=1.1.2.3&r2=1.1.2.4 Delta lines: +3 -4 ------------------- --- KDatabaseMetaData.hxx 22 Nov 2005 12:34:09 -0000 1.1.2.3 +++ KDatabaseMetaData.hxx 24 Nov 2005 11:13:01 -0000 1.1.2.4 @@ -2,9 +2,9 @@ * * $RCSfile: KDatabaseMetaData.hxx,v $ * - * $Revision: 1.1.2.3 $ + * $Revision: 1.1.2.4 $ * - * last change: $Author: ebischoff $ $Date: 2005/11/22 12:34:09 $ + * last change: $Author: ebischoff $ $Date: 2005/11/24 11:13:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -87,14 +87,13 @@ { ::com::sun::star::uno::Reference< KabConnection > m_xConnection; sal_Bool m_bUseCatalog; - static const ::rtl::OUString m_aAddressBookTableName; public: inline KabConnection* getOwnConnection() const { return m_xConnection.get(); } - inline static const ::rtl::OUString & getAddressBookTableName() { return m_aAddressBookTableName; } KabDatabaseMetaData(KabConnection* _pCon); + const ::rtl::OUString & getAddressBookTableName() const; virtual ~KabDatabaseMetaData(); // this interface is really BIG --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
