diff options
author | David Ostrovsky <david@ostrovsky.org> | 2012-09-21 08:18:48 +0200 |
---|---|---|
committer | David Ostrovsky <david@ostrovsky.org> | 2012-09-21 08:21:07 +0200 |
commit | e1df1995d8a540316151169f9334b048194b3ffd (patch) | |
tree | 006e93d40d7c1c33e379807c0acf685a2c887c64 /connectivity | |
parent | 68e74da3ee12c8acae5c8106c2fc38c4f446c7c8 (diff) |
MResultSet WaE fixed
Change-Id: Ie7261c651c20350fb69fe2ed55f8272a3db132ba
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mork/MResultSet.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index 32b7bf589851..974d703a07c0 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -1104,6 +1104,10 @@ void OResultSet::fillRowData() m_aQueryHelper.setAddressbook( aStr ); sal_Int32 rv = m_aQueryHelper.executeQuery(xConnection); + if ( rv == -1 ) { + m_pStatement->getOwnConnection()->throwSQLException( STR_ERR_EXECUTING_QUERY, *this ); + } + if (m_aQueryHelper.hadError()) { m_pStatement->getOwnConnection()->throwSQLException( m_aQueryHelper.getError(), *this ); |