summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-22 14:52:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-23 09:01:46 +0200
commit2684aefcf5d2804351bda01a2d2fe7bbbd351451 (patch)
tree5c19a705883a068a4945d7e49376296e341cb191 /ucb
parent1fde962b71860d77fb10e9b16c9d5b6c124d9b61 (diff)
new loplugin unnecessarycatchthrow
Change-Id: Iabab71ee076227bc38447ec109afaea1e53a86a6 Reviewed-on: https://gerrit.libreoffice.org/42643 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 4c160c3ed4e8..ea8ffc7ae18f 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -1408,18 +1408,7 @@ sal_Bool SAL_CALL CachedContentResultSet
//unknown final count:
aGuard.clear();
- // Solaris has problems catching or propagating derived exceptions
- // when only the base class is known, so make ResultSetException
- // (derived from SQLException) known here:
- bool bValid;
- try
- {
- bValid = m_xResultSetOrigin->absolute( row );
- }
- catch (const ResultSetException&)
- {
- throw;
- }
+ bool bValid = m_xResultSetOrigin->absolute( row );
aGuard.reset();
if( m_bFinalCount )