From aa9f75adc228f19161500e0ed019388e335f16a6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Nov 2015 09:25:11 +0000 Subject: coverity#1338238 Uncaught exception Change-Id: If822954d8355df879da8315e1c006571d3a26139 --- ucb/source/ucp/file/bc.cxx | 5 +---- ucb/source/ucp/file/bc.hxx | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'ucb') 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( -- cgit