summaryrefslogtreecommitdiff
path: root/connectivity/source/inc/ado/Aolevariant.hxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2000-12-06 10:53:15 +0000
committerOcke Janssen <oj@openoffice.org>2000-12-06 10:53:15 +0000
commit36ed33f444358528b00a77f889cf67eafb9871da (patch)
treeb3a1813a717c0e40df76adc8ab5b768b50ec2ecd /connectivity/source/inc/ado/Aolevariant.hxx
parent060f2bfcb84ea7cb6a8bfc1044d1571eb8b3fc45 (diff)
#80218# dateConversion exchanged
Diffstat (limited to 'connectivity/source/inc/ado/Aolevariant.hxx')
-rw-r--r--connectivity/source/inc/ado/Aolevariant.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/connectivity/source/inc/ado/Aolevariant.hxx b/connectivity/source/inc/ado/Aolevariant.hxx
index 4b236b3e3603..1afdca4273f7 100644
--- a/connectivity/source/inc/ado/Aolevariant.hxx
+++ b/connectivity/source/inc/ado/Aolevariant.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Aolevariant.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: oj $ $Date: 2000-09-29 14:54:47 $
+ * last change: $Author: oj $ $Date: 2000-12-06 11:53:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,9 @@
#ifndef _CONNECTIVITY_DATECONVERSION_HXX_
#include "connectivity/DateConversion.hxx"
#endif
+#ifndef _DBHELPER_DBCONVERSION_HXX_
+#include "connectivity/dbconversion.hxx"
+#endif
#ifndef _COM_SUN_STAR_UNO_SEQUENCE_H_
#include <com/sun/star/uno/Sequence.h>
#endif
@@ -98,17 +101,17 @@ namespace connectivity
OLEVariant(const ::com::sun::star::util::Date& x )
{
VariantInit(this); vt = VT_R8;
- dblVal = DateConversion::toDouble(x);
+ dblVal = ::dbtools::DBTypeConversion::toDouble(x);
}
OLEVariant(const ::com::sun::star::util::Time& x )
{
VariantInit(this); vt = VT_R8;
- dblVal = DateConversion::toDouble(x);
+ dblVal = ::dbtools::DBTypeConversion::toDouble(x);
}
OLEVariant(const ::com::sun::star::util::DateTime& x )
{
VariantInit(this); vt = VT_R8;
- dblVal = DateConversion::toDouble(x);
+ dblVal = ::dbtools::DBTypeConversion::toDouble(x);
}
OLEVariant(IDispatch* pDispInterface)
{ VariantInit(this); vt = VT_DISPATCH; pdispVal = pDispInterface;}