coverity#1190346 silence Unchecked return value

Change-Id: If6223276d2d45431a674047b9540d4ac3eb71395
This commit is contained in:
Caolán McNamara 2014-03-08 12:28:30 +00:00
parent 6b34a4cbcc
commit a1b78271c9

View File

@ -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")
{