diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:59:59 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:59:59 +0000 |
commit | 13f1da7466e8c592382dbee5eb20349eb6bae82e (patch) | |
tree | f48c3a65e9f276a73f615b6c7af52ad28b75d6c1 /connectivity | |
parent | 11f1e252a08c6166f2120717c28a71d0ad3aa609 (diff) |
INTEGRATION: CWS warnings01 (1.12.30); FILE MERGED
2006/04/07 20:13:39 sb 1.12.30.3: RESYNC: (1.13-1.14); FILE MERGED
2005/11/16 12:58:40 fs 1.12.30.2: #i57457# warning free code
2005/11/07 14:42:54 fs 1.12.30.1: #i57457# warning-free code
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/inc/connectivity/dbexception.hxx | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/connectivity/inc/connectivity/dbexception.hxx b/connectivity/inc/connectivity/dbexception.hxx index f7b195d4a8d8..398abaf66a52 100644 --- a/connectivity/inc/connectivity/dbexception.hxx +++ b/connectivity/inc/connectivity/dbexception.hxx @@ -4,9 +4,9 @@ * * $RCSfile: dbexception.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2006-01-25 14:59:49 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:59:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -123,23 +123,16 @@ protected: class SQLExceptionIteratorHelper { -public: - // specifying the type of the elements to include - enum NODES_INCLUDED { NI_EXCEPTIONS, NI_WARNINGS, NI_CONTEXTINFOS }; - // as ContextInfos are derived from Warnings and Warnings from Exceptions this is sufficient ... - protected: const ::com::sun::star::sdbc::SQLException* m_pCurrent; SQLExceptionInfo::TYPE m_eCurrentType; - NODES_INCLUDED m_eMask; - public: - SQLExceptionIteratorHelper(const ::com::sun::star::sdbc::SQLException* _pStart, NODES_INCLUDED _eMask = NI_EXCEPTIONS); - SQLExceptionIteratorHelper(const ::com::sun::star::sdbc::SQLWarning* _pStart, NODES_INCLUDED _eMask = NI_EXCEPTIONS); - SQLExceptionIteratorHelper(const ::com::sun::star::sdb::SQLContext* _pStart, NODES_INCLUDED _eMask = NI_EXCEPTIONS); + SQLExceptionIteratorHelper(const ::com::sun::star::sdbc::SQLException* _pStart); + SQLExceptionIteratorHelper(const ::com::sun::star::sdbc::SQLWarning* _pStart); + SQLExceptionIteratorHelper(const ::com::sun::star::sdb::SQLContext* _pStart); // same note as above for the SQLExceptionInfo ctors - SQLExceptionIteratorHelper(const SQLExceptionInfo& _rStart, NODES_INCLUDED _eMask = NI_EXCEPTIONS); + SQLExceptionIteratorHelper(const SQLExceptionInfo& _rStart); sal_Bool hasMoreElements() const { return (m_pCurrent != NULL); } const ::com::sun::star::sdbc::SQLException* next(); |