#104812# insert more defensive programming

This commit is contained in:
Ocke Janssen
2002-11-21 14:42:34 +00:00
parent b6c3cfc287
commit 5e4ef8de78

View File

@@ -2,9 +2,9 @@
*
* $RCSfile: resultset.cxx,v $
*
* $Revision: 1.10 $
* $Revision: 1.11 $
*
* last change: $Author: hr $ $Date: 2001-11-01 15:27:20 $
* last change: $Author: oj $ $Date: 2002-11-21 15:42:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,6 +125,8 @@ OResultSet::OResultSet(const ::com::sun::star::uno::Reference< ::com::sun::star:
m_pColumns = new OColumns(*this, m_aMutex, _bCaseSensitive, ::std::vector< ::rtl::OUString>(), NULL,NULL);
try
{
m_aStatement = _xStatement;
m_xAggregateAsRow = Reference< ::com::sun::star::sdbc::XRow >(m_xAggregateAsResultSet, UNO_QUERY);
m_xAggregateAsRowUpdate = Reference< ::com::sun::star::sdbc::XRowUpdate >(m_xAggregateAsResultSet, UNO_QUERY);
@@ -140,6 +142,10 @@ OResultSet::OResultSet(const ::com::sun::star::uno::Reference< ::com::sun::star:
if (xInfo->hasPropertyByName(PROPERTY_ISBOOKMARKABLE))
m_bIsBookmarkable = ::comphelper::getBOOL(xSet->getPropertyValue(PROPERTY_ISBOOKMARKABLE));
}
}
catch(Exception&)
{
}
}
//--------------------------------------------------------------------------