summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
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 );