From a1b78271c946bd9d67f16b04cbb81cafa675082a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 8 Mar 2014 12:28:30 +0000 Subject: [PATCH] coverity#1190346 silence Unchecked return value Change-Id: If6223276d2d45431a674047b9540d4ac3eb71395 --- filter/source/msfilter/eschesdo.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index 23b7cdb35bba..bfb9615aac62 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -1188,8 +1188,8 @@ void ImplEESdrObject::Init( ImplEESdrWriter& rEx ) { // detect name first to make below test (is group) work mType = OUString( mXShape->getShapeType() ); - mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star." - mType.endsWith( "Shape", &mType ); // strip "Shape" + (void)mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star." + (void)mType.endsWith( "Shape", &mType ); // strip "Shape" if(GetType() == "drawing.Group") {