Kaydet (Commit) a1b78271 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1190346 silence Unchecked return value

Change-Id: If6223276d2d45431a674047b9540d4ac3eb71395
üst 6b34a4cb
...@@ -1188,8 +1188,8 @@ void ImplEESdrObject::Init( ImplEESdrWriter& rEx ) ...@@ -1188,8 +1188,8 @@ void ImplEESdrObject::Init( ImplEESdrWriter& rEx )
{ {
// detect name first to make below test (is group) work // detect name first to make below test (is group) work
mType = OUString( mXShape->getShapeType() ); mType = OUString( mXShape->getShapeType() );
mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star." (void)mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star."
mType.endsWith( "Shape", &mType ); // strip "Shape" (void)mType.endsWith( "Shape", &mType ); // strip "Shape"
if(GetType() == "drawing.Group") if(GetType() == "drawing.Group")
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment