Kaydet (Commit) bae50998 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#983658 Uncaught exception

Change-Id: I99cb4f64b093765d0667ddcddf1f696891450a9a
üst 05a676e8
...@@ -78,7 +78,7 @@ public: ...@@ -78,7 +78,7 @@ public:
// ::com::sun::star::io::XOutputStream // ::com::sun::star::io::XOutputStream
virtual void SAL_CALL writeBytes( const Sequence<sal_Int8>& ) throw(std::exception) SAL_OVERRIDE; 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 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() ...@@ -292,7 +292,7 @@ FileSink::~FileSink()
osl::File::remove( m_aFileName ); osl::File::remove( m_aFileName );
} }
void FileSink::closeOutput() throw(std::exception) void FileSink::closeOutput() throw (RuntimeException, std::exception)
{ {
if( fp ) if( fp )
fclose( fp ); fclose( fp );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment