From 429e195064c76bcdf24a64cb52555894fb9e981c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Jul 2015 08:41:50 +0100 Subject: coverity#1309068 Uncaught exception Change-Id: I8243eca8d23409cc134379f168aef668dc9c7917 --- ucb/source/ucp/ftp/ftpurl.cxx | 2 +- ucb/source/ucp/ftp/ftpurl.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ucb/source/ucp/ftp/ftpurl.cxx b/ucb/source/ucp/ftp/ftpurl.cxx index fcfbf7a059b7..645236fca963 100644 --- a/ucb/source/ucp/ftp/ftpurl.cxx +++ b/ucb/source/ucp/ftp/ftpurl.cxx @@ -595,7 +595,7 @@ OUString FTPURL::net_title() const FTPDirentry FTPURL::direntry() const - throw (curl_exception, malformed_exception) + throw (curl_exception, malformed_exception, std::exception) { OUString nettitle = net_title(); FTPDirentry aDirentry; diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx index 00cc2db29e8f..d67cf8fec9ba 100644 --- a/ucb/source/ucp/ftp/ftpurl.hxx +++ b/ucb/source/ucp/ftp/ftpurl.hxx @@ -125,7 +125,7 @@ namespace ftp { oslFileHandle open() throw(curl_exception); FTPDirentry direntry() const - throw(curl_exception, malformed_exception); + throw(curl_exception, malformed_exception, std::exception); void insert(bool ReplaceExisting,void* stream) const throw(curl_exception); -- cgit