summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 20:27:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-28 13:22:56 +0100
commit3601a6dda6c4dabdb56b4e4f45d41f2d6a2237e7 (patch)
treef57b50910d800e7cfb55ee7b37d8b15d215171bb /ucb
parentfa946a721849abada89fa8ca4180e4eef755e189 (diff)
coverity#1308488 Uncaught exception
Change-Id: Ibdf76c21c8805b11a3e0961b2f131ca4143cbabd
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 6ad35a766705..2e316dfcf4ea 100644
--- a/ucb/source/ucp/ftp/ftpurl.cxx
+++ b/ucb/source/ucp/ftp/ftpurl.cxx
@@ -724,7 +724,7 @@ void FTPURL::mkdir(bool ReplaceExisting) const
OUString FTPURL::ren(const OUString& NewTitle)
- throw(curl_exception)
+ throw(curl_exception, std::exception)
{
CURL *curl = m_pFCP->handle();
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index 3144d6e8760a..45a35e696c0d 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -134,7 +134,7 @@ namespace ftp {
throw(curl_exception, malformed_exception, std::exception);
OUString ren(const OUString& NewTitle)
- throw(curl_exception);
+ throw(curl_exception, std::exception);
void del() const
throw(curl_exception, malformed_exception);