diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 11:15:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 09:40:26 +0200 |
commit | d5019f7cacfcb7f2becdf1fadc2015be70f751c9 (patch) | |
tree | 570b9eea424a1e064f99499685c8425384df390b /svx/source/gallery2/galtheme.cxx | |
parent | 7864ab4ec3a164f299a71dcf6298213e4e4d46f6 (diff) |
cid#1448484 Unchecked return value
Change-Id: I4e06228665c90820e88c72bfe4e462af9a0074e9
Reviewed-on: https://gerrit.libreoffice.org/75897
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/gallery2/galtheme.cxx')
-rw-r--r-- | svx/source/gallery2/galtheme.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx index 5875abd76bbd..62b84c6a05e0 100644 --- a/svx/source/gallery2/galtheme.cxx +++ b/svx/source/gallery2/galtheme.cxx @@ -932,8 +932,8 @@ bool GalleryTheme::InsertModel(const FmFormModel& rModel, sal_uInt32 nInsertPos) { uno::Reference< io::XOutputStream > xDocOut( new utl::OOutputStreamWrapper( aMemStm ) ); - if( xDocOut.is() ) - SvxDrawingLayerExport( pFormModel, xDocOut ); + if (xDocOut.is()) + (void)SvxDrawingLayerExport( pFormModel, xDocOut ); } aMemStm.Seek( 0 ); |