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