cppcheck: const_cast instead of C cast
Change-Id: I9b4a01364ff8b8c82fec687ab0cbd73952b3e237
This commit is contained in:
@@ -231,7 +231,7 @@ void XMLPageMasterExportPropMapper::handleElementItem(
|
||||
const ::std::vector< XMLPropertyState >* pProperties,
|
||||
sal_uInt32 nIdx ) const
|
||||
{
|
||||
XMLPageMasterExportPropMapper* pThis = (XMLPageMasterExportPropMapper*) this;
|
||||
XMLPageMasterExportPropMapper* pThis = const_cast<XMLPageMasterExportPropMapper*>(this);
|
||||
|
||||
sal_uInt32 nContextId = getPropertySetMapper()->GetEntryContextId( rProperty.mnIndex );
|
||||
switch( nContextId )
|
||||
|
Reference in New Issue
Block a user