summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-06 09:25:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-06 12:15:48 +0000
commitaa9f75adc228f19161500e0ed019388e335f16a6 (patch)
tree80ce80a413606a331a313c8502d731c040093f0f /ucb
parent7ba3301b8fcefb80f657286d4439c06c339743e0 (diff)
coverity#1338238 Uncaught exception
Change-Id: If822954d8355df879da8315e1c006571d3a26139
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/bc.cxx5
-rw-r--r--ucb/source/ucp/file/bc.hxx2
2 files changed, 2 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index 92c8e6392c64..82e3f292c1cb 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -775,14 +775,11 @@ BaseContent::getPropertySetInfo(
return m_pMyShell->info_p( m_aUncPath );
}
-
-
-
Reference< sdbc::XRow > SAL_CALL
BaseContent::getPropertyValues(
sal_Int32 nMyCommandIdentifier,
const Sequence< beans::Property >& PropertySet )
- throw( RuntimeException )
+ throw( RuntimeException, std::exception )
{
sal_Int32 nProps = PropertySet.getLength();
if ( !nProps )
diff --git a/ucb/source/ucp/file/bc.hxx b/ucb/source/ucp/file/bc.hxx
index dc89399837e2..8d39045bef6e 100644
--- a/ucb/source/ucp/file/bc.hxx
+++ b/ucb/source/ucp/file/bc.hxx
@@ -302,7 +302,7 @@ namespace fileaccess {
getPropertyValues(
sal_Int32 nMyCommandIdentifier,
const com::sun::star::uno::Sequence< com::sun::star::beans::Property >& PropertySet )
- throw( com::sun::star::uno::RuntimeException );
+ throw( css::uno::RuntimeException, std::exception );
com::sun::star::uno::Sequence< com::sun::star::uno::Any > SAL_CALL
setPropertyValues(