summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/commontools/FValue.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/source/commontools/FValue.cxx b/connectivity/source/commontools/FValue.cxx
index 7f6a8d0f5d03..0a1cb572c522 100644
--- a/connectivity/source/commontools/FValue.cxx
+++ b/connectivity/source/commontools/FValue.cxx
@@ -1923,6 +1923,7 @@ namespace detail
virtual Reference< XInputStream > getCharacterStream() const = 0;
virtual Reference< XBlob > getBlob() const = 0;
virtual Reference< XClob > getClob() const = 0;
+ virtual Any getObject() const = 0;
virtual sal_Bool wasNull() const = 0;
virtual ~IValueSource() { }
@@ -1954,6 +1955,7 @@ namespace detail
virtual Reference< XInputStream > getCharacterStream() const { return m_xRow->getCharacterStream( m_nPos ); };
virtual Reference< XBlob > getBlob() const { return m_xRow->getBlob( m_nPos ); };
virtual Reference< XClob > getClob() const { return m_xRow->getClob( m_nPos ); };
+ virtual Any getObject() const { return m_xRow->getObject( m_nPos, NULL ); };
virtual sal_Bool wasNull() const { return m_xRow->wasNull( ); };
private:
@@ -1986,6 +1988,7 @@ namespace detail
virtual Reference< XInputStream > getCharacterStream() const { return m_xColumn->getCharacterStream(); };
virtual Reference< XBlob > getBlob() const { return m_xColumn->getBlob(); };
virtual Reference< XClob > getClob() const { return m_xColumn->getClob(); };
+ virtual Any getObject() const { return m_xColumn->getObject( NULL ); };
virtual sal_Bool wasNull() const { return m_xColumn->wasNull(); };
private:
@@ -2089,7 +2092,7 @@ void ORowSetValue::impl_fill( const sal_Int32 _nType, sal_Bool _bNullable, const
setTypeKind(DataType::BLOB);
break;
case DataType::OTHER:
- (*this) = _xRow->getObject(_nPos,NULL);
+ (*this) = _rValueSource.getObject();
setTypeKind(DataType::OTHER);
break;
default: