summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 11:15:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-19 09:40:26 +0200
commitd5019f7cacfcb7f2becdf1fadc2015be70f751c9 (patch)
tree570b9eea424a1e064f99499685c8425384df390b /svx
parent7864ab4ec3a164f299a71dcf6298213e4e4d46f6 (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')
-rw-r--r--svx/source/gallery2/galtheme.cxx4
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 );