summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/ado/Awrapado.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-02 11:33:23 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-02 11:33:23 +0000
commitfb0768f3e90f405619ec62990c47b631ea3f72c8 (patch)
tree14be2e886d8b8f94788946a6c2b379da54acab95 /connectivity/source/drivers/ado/Awrapado.cxx
parentfc27029f0cb18d310368fe13c4613862a2a2abf1 (diff)
INTEGRATION: CWS oj07 (1.12.38); FILE MERGED
2003/08/22 09:21:01 oj 1.12.38.1: #109720# typehandling for ado adjusted
Diffstat (limited to 'connectivity/source/drivers/ado/Awrapado.cxx')
-rw-r--r--connectivity/source/drivers/ado/Awrapado.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/connectivity/source/drivers/ado/Awrapado.cxx b/connectivity/source/drivers/ado/Awrapado.cxx
index b3f4255230e9..aa9de9e9257a 100644
--- a/connectivity/source/drivers/ado/Awrapado.cxx
+++ b/connectivity/source/drivers/ado/Awrapado.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Awrapado.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: vg $ $Date: 2003-05-22 10:49:51 $
+ * last change: $Author: rt $ $Date: 2004-03-02 12:33:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -571,7 +571,6 @@ sal_Int32 WpADOField::GetDefinedSize() const
OSL_ENSURE(pInterface,"Interface is null!");
aValVar.setEmpty();
sal_Bool bOk = SUCCEEDED(pInterface->get_Value(&aValVar));
- OSL_ENSURE(bOk,"get_Value doesn't work!");
}
OLEVariant WpADOField::get_Value() const
@@ -1141,7 +1140,7 @@ sal_Int32 WpADOColumn::get_DefinedSize() const
pInterface->get_DefinedSize(&nPrec);
return nPrec;
}
-sal_Int32 WpADOColumn::get_NumericScale() const
+sal_uInt8 WpADOColumn::get_NumericScale() const
{
OSL_ENSURE(pInterface,"Interface is null!");
sal_uInt8 nPrec=0;
@@ -2158,7 +2157,7 @@ ADORecordset* WpADOConnection::getColumnPrivileges( const ::com::sun::star::uno:
return pRecordset;
}
// -----------------------------------------------------------------------------
-ADORecordset* WpADOConnection::getTypeInfo( )
+ADORecordset* WpADOConnection::getTypeInfo(DataTypeEnum _eType)
{
HRESULT hr = S_OK;
// Create elements used in the array