loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I8c84f0f6aeb38147432ce5393b0286c379c6e135
This commit is contained in:
Stephan Bergmann
2015-06-08 16:27:27 +02:00
parent 30b089fe49
commit 2c2bafeedf

View File

@@ -128,7 +128,7 @@ OUString AttributeList::getValueByName(const OUString& sName) throw (RuntimeExce
Reference< XCloneable > AttributeList::createClone() throw (RuntimeException, std::exception)
{
AttributeList *p = new AttributeList( *this );
return Reference< XCloneable > ( (XCloneable * ) p );
return Reference< XCloneable > ( static_cast<XCloneable *>(p) );
}