loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I8c84f0f6aeb38147432ce5393b0286c379c6e135
This commit is contained in:
@@ -128,7 +128,7 @@ OUString AttributeList::getValueByName(const OUString& sName) throw (RuntimeExce
|
|||||||
Reference< XCloneable > AttributeList::createClone() throw (RuntimeException, std::exception)
|
Reference< XCloneable > AttributeList::createClone() throw (RuntimeException, std::exception)
|
||||||
{
|
{
|
||||||
AttributeList *p = new AttributeList( *this );
|
AttributeList *p = new AttributeList( *this );
|
||||||
return Reference< XCloneable > ( (XCloneable * ) p );
|
return Reference< XCloneable > ( static_cast<XCloneable *>(p) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user