summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-10 08:08:38 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-12-10 08:08:38 +0100
commit2d7a36f76fc01f2e54f5fba46805f12013b48bfe (patch)
tree0a8e19a03ac8c618cc24241a9a1fddb3236377eb /connectivity
parent5324ac66e4095fde3334a4367323d4aa266bf781 (diff)
dba33b: post-rebase problem resolution
Diffstat (limited to 'connectivity')
-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: