summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-02 08:41:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 11:39:33 +0100
commit429e195064c76bcdf24a64cb52555894fb9e981c (patch)
tree3b3991ecec317590174a382f4cea1bc27e232350 /ucb
parent7799d0749ace1f2508a6d046e2ed77106d68a5fa (diff)
coverity#1309068 Uncaught exception
Change-Id: I8243eca8d23409cc134379f168aef668dc9c7917
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.cxx2
-rw-r--r--ucb/source/ucp/ftp/ftpurl.hxx2
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);