summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 10:07:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-18 14:04:50 +0200
commit69899866063d360f087f8a08c51ec6bbfee28b36 (patch)
tree8fe69b95ff5482310faddeac72b8c6100d5e4873 /filter
parent644af27d6dc02ce6c238aa76e1ff8182953946e0 (diff)
cid#703956 Unchecked return value
Change-Id: Ide2d83962c0a03e410443164f80522b2913ab998 Reviewed-on: https://gerrit.libreoffice.org/75838 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swffilter.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/flash/swffilter.cxx b/filter/source/flash/swffilter.cxx
index 4448def2d09e..b6ae37da2efa 100644
--- a/filter/source/flash/swffilter.cxx
+++ b/filter/source/flash/swffilter.cxx
@@ -61,13 +61,13 @@ namespace swf {
class OslOutputStreamWrapper : public ::cppu::WeakImplHelper<css::io::XOutputStream>
{
- osl::File mrFile;
+ osl::File maFile;
public:
- explicit OslOutputStreamWrapper(const OUString& rFileName) : mrFile(rFileName)
+ explicit OslOutputStreamWrapper(const OUString& rFileName) : maFile(rFileName)
{
osl_removeFile(rFileName.pData);
- mrFile.open( osl_File_OpenFlag_Create|osl_File_OpenFlag_Write );
+ (void)maFile.open(osl_File_OpenFlag_Create|osl_File_OpenFlag_Write);
}
// css::io::XOutputStream
@@ -85,7 +85,7 @@ void SAL_CALL OslOutputStreamWrapper::writeBytes( const css::uno::Sequence< sal_
while( uBytesToWrite )
{
- osl::File::RC eRC = mrFile.write( pBuffer, uBytesToWrite, uBytesWritten);
+ osl::File::RC eRC = maFile.write( pBuffer, uBytesToWrite, uBytesWritten);
switch( eRC )
{
@@ -116,7 +116,7 @@ void SAL_CALL OslOutputStreamWrapper::flush( )
void SAL_CALL OslOutputStreamWrapper::closeOutput( )
{
- osl::File::RC eRC = mrFile.close();
+ osl::File::RC eRC = maFile.close();
switch( eRC )
{