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>
This commit is contained in:
Caolán McNamara
2019-07-18 11:15:01 +01:00
parent 7864ab4ec3
commit d5019f7cac

View File

@@ -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 );