summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:29:45 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-15 09:29:45 +0000
commit5837334823d76688beee59e36e95b7b3d70260a2 (patch)
treede018d75d670d0bcdee0bab71d11bb4aad7ec6ca /connectivity
parent3840389aab14c98f8c69b92e9d12e96f19264489 (diff)
INTEGRATION: CWS dba30 (1.31.28); FILE MERGED
2006/07/19 10:37:13 fs 1.31.28.6: RESYNC: (1.35-1.36); FILE MERGED 2006/04/18 13:12:49 oj 1.31.28.5: RESYNC: (1.34-1.35); FILE MERGED 2006/03/22 15:04:52 fs 1.31.28.4: #i10000# 2006/03/21 15:46:39 fs 1.31.28.3: RESYNC: (1.32-1.34); FILE MERGED 2005/09/28 12:40:38 fs 1.31.28.2: RESYNC: (1.31-1.32); FILE MERGED 2005/04/06 07:10:25 fs 1.31.28.1: #i46768# some assertions on the type of connection properties
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/odbc/OConnection.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/connectivity/source/drivers/odbc/OConnection.cxx b/connectivity/source/drivers/odbc/OConnection.cxx
index 25598e6d32d0..414a0971d604 100644
--- a/connectivity/source/drivers/odbc/OConnection.cxx
+++ b/connectivity/source/drivers/odbc/OConnection.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: OConnection.cxx,v $
*
- * $Revision: 1.36 $
+ * $Revision: 1.37 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 01:54:35 $
+ * last change: $Author: hr $ $Date: 2006-08-15 10:29:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -248,51 +248,51 @@ SQLRETURN OConnection::Construct(const ::rtl::OUString& url,const Sequence< Prop
for(;pBegin != pEnd;++pBegin)
{
if(!pBegin->Name.compareToAscii(pTimeout))
- pBegin->Value >>= nTimeout;
+ OSL_VERIFY( pBegin->Value >>= nTimeout );
else if(!pBegin->Name.compareToAscii(pSilent))
- pBegin->Value >>= bSilent;
+ OSL_VERIFY( pBegin->Value >>= bSilent );
else if(!pBegin->Name.compareToAscii(pPrivName))
- pBegin->Value >>= m_bIgnoreDriverPrivileges;
+ OSL_VERIFY( pBegin->Value >>= m_bIgnoreDriverPrivileges );
else if(!pBegin->Name.compareToAscii(pVerColName))
- pBegin->Value >>= m_bPreventGetVersionColumns;
+ OSL_VERIFY( pBegin->Value >>= m_bPreventGetVersionColumns );
else if(!pBegin->Name.compareToAscii(pParaName))
- pBegin->Value >>= m_bParameterSubstitution;
+ OSL_VERIFY( pBegin->Value >>= m_bParameterSubstitution );
else if(!pBegin->Name.compareToAscii(pRetrieving))
{
sal_Bool bAutoRetrievingEnabled = sal_False;
- pBegin->Value >>= bAutoRetrievingEnabled;
+ OSL_VERIFY( pBegin->Value >>= bAutoRetrievingEnabled );
enableAutoRetrievingEnabled(bAutoRetrievingEnabled);
}
else if(!pBegin->Name.compareToAscii(pRetriStmt))
{
::rtl::OUString sGeneratedValueStatement;
- pBegin->Value >>= sGeneratedValueStatement;
+ OSL_VERIFY( pBegin->Value >>= sGeneratedValueStatement );
setAutoRetrievingStatement(sGeneratedValueStatement);
}
else if(!pBegin->Name.compareToAscii(pUser))
{
- pBegin->Value >>= aUID;
+ OSL_VERIFY( pBegin->Value >>= aUID );
aDSN = aDSN + ::rtl::OUString::createFromAscii(";UID=") + aUID;
}
else if(!pBegin->Name.compareToAscii(pPwd))
{
- pBegin->Value >>= aPWD;
+ OSL_VERIFY( pBegin->Value >>= aPWD );
aDSN = aDSN + ::rtl::OUString::createFromAscii(";PWD=") + aPWD;
}
else if(!pBegin->Name.compareToAscii(pUseCatalog))
{
- pBegin->Value >>= m_bUseCatalog;
+ OSL_VERIFY( pBegin->Value >>= m_bUseCatalog );
}
else if(!pBegin->Name.compareToAscii(pSysDrv))
{
- pBegin->Value >>= aSysDrvSettings;
+ OSL_VERIFY( pBegin->Value >>= aSysDrvSettings );
aDSN += ::rtl::OUString::createFromAscii(";");
aDSN += aSysDrvSettings;
}
else if(0 == pBegin->Name.compareToAscii(pCharSet))
{
::rtl::OUString sIanaName;
- pBegin->Value >>= sIanaName;
+ OSL_VERIFY( pBegin->Value >>= sIanaName );
::dbtools::OCharsetMap aLookupIanaName;
::dbtools::OCharsetMap::const_iterator aLookup = aLookupIanaName.find(sIanaName, ::dbtools::OCharsetMap::IANA());