diff options
Diffstat (limited to 'connectivity/source/drivers/ado/AStatement.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/AStatement.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/ado/AStatement.cxx b/connectivity/source/drivers/ado/AStatement.cxx index a55af080ba84..c02397ee92da 100644 --- a/connectivity/source/drivers/ado/AStatement.cxx +++ b/connectivity/source/drivers/ado/AStatement.cxx @@ -83,7 +83,7 @@ void OStatement_Base::disposeResultSet() Reference< XComponent > xComp(m_xResultSet.get(), UNO_QUERY); if (xComp.is()) xComp->dispose(); - m_xResultSet = Reference< XResultSet>(); + m_xResultSet.clear(); } //------------------------------------------------------------------------------ @@ -187,7 +187,7 @@ void OStatement_Base::clearMyResultSet () throw (SQLException) } catch( const DisposedException& ) { } - m_xResultSet = Reference< XResultSet >(); + m_xResultSet.clear(); } //-------------------------------------------------------------------- sal_Int32 OStatement_Base::getRowCount () throw( SQLException) |