summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-02 10:00:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-02 10:46:45 +0100
commitbae5099882c37c45476fbac23c18b44576aa17dc (patch)
treea5ee2e3b86c66bd41dc7e9c66351ab3c85c507e4 /extensions
parent05a676e86cbca3730c6b9e91ffdf8af214b90708 (diff)
coverity#983658 Uncaught exception
Change-Id: I99cb4f64b093765d0667ddcddf1f696891450a9a
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/plugin/base/context.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/plugin/base/context.cxx b/extensions/source/plugin/base/context.cxx
index 39289f539d87..7ab64f7b8c84 100644
--- a/extensions/source/plugin/base/context.cxx
+++ b/extensions/source/plugin/base/context.cxx
@@ -78,7 +78,7 @@ public:
// ::com::sun::star::io::XOutputStream
virtual void SAL_CALL writeBytes( const Sequence<sal_Int8>& ) throw(std::exception) SAL_OVERRIDE;
virtual void SAL_CALL flush() throw(std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL closeOutput() throw(std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL closeOutput() throw (RuntimeException, std::exception) SAL_OVERRIDE;
};
}
@@ -292,7 +292,7 @@ FileSink::~FileSink()
osl::File::remove( m_aFileName );
}
-void FileSink::closeOutput() throw(std::exception)
+void FileSink::closeOutput() throw (RuntimeException, std::exception)
{
if( fp )
fclose( fp );