summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-06-01 11:38:59 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2012-06-01 17:02:44 +0200
commit3c436c2b0c74367dfdbbae96090be2f9828765ce (patch)
tree1e2eed588213961ceb0b813be02cb6456ccf72e8 /dbaccess
parent228c360e7d53a74d9908e9b164b12ace316cd34e (diff)
dbaccess::OKeySet::wasNull(): OSL_ENSURE we have a m_xRow
Change-Id: I087d2893d853f431d27c592ba26bdc16e0a9cb84
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/KeySet.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/source/core/api/KeySet.cxx b/dbaccess/source/core/api/KeySet.cxx
index f462b9b8a39f..d94609b6061c 100644
--- a/dbaccess/source/core/api/KeySet.cxx
+++ b/dbaccess/source/core/api/KeySet.cxx
@@ -1416,6 +1416,7 @@ void OKeySet::fillAllRows()
sal_Bool SAL_CALL OKeySet::wasNull( ) throw(SQLException, RuntimeException)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "dbaccess", "Ocke.Janssen@sun.com", "OKeySet::wasNull" );
+ OSL_ENSURE(m_xRow.is(),"m_xRow is null!");
return m_xRow->wasNull();
}