summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-04-06 02:18:22 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-04-06 13:11:30 -0500
commit0586bdc74813ef83504801d74800589f99c877b0 (patch)
tree230a9565729502de1ab6737f5867c076561a3826 /xmloff
parent302bd1c4ec585011b141a167ce3f2402fcccf80c (diff)
coverity#704111: Unchecked return value
Change-Id: Ida3a1b2804f655b39378f79e10872dcac4e70cf1
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 655f1638853c..5b58920b8b49 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -3213,8 +3213,9 @@ void XMLShapeExport::ImpExportMediaShape(
ImpExportNewTrans(xPropSet, nFeatures, pRefPoint);
if(eShapeType == XmlShapeTypePresMediaShape)
- ImpExportPresentationAttributes( xPropSet, GetXMLToken(XML_PRESENTATION_OBJECT) );
-
+ {
+ (void)ImpExportPresentationAttributes( xPropSet, GetXMLToken(XML_PRESENTATION_OBJECT) );
+ }
bool bCreateNewline( (nFeatures & SEF_EXPORT_NO_WS) == 0 ); // #86116#/#92210#
SvXMLElementExport aElem( mrExport, XML_NAMESPACE_DRAW,
XML_FRAME, bCreateNewline, true );