loplugin:cstylecast: nop between pointer types of exactly same spelling

Change-Id: I14eaa418950ee40534c308a19c50422a9a58fd47
This commit is contained in:
Stephan Bergmann
2015-05-11 12:49:37 +02:00
parent b5b73ed868
commit ecb56552af
2 changed files with 4 additions and 4 deletions

View File

@@ -2151,8 +2151,8 @@ bool EscherPropertyContainer::CreatePolygonProperties(
AddOpt( ESCHER_Prop_geoBottom, rGeoRect.Height );
AddOpt( ESCHER_Prop_shapePath, ESCHER_ShapeComplex );
AddOpt( ESCHER_Prop_pVertices, true, nVerticesBufSize - 6, (sal_uInt8*)pVerticesBuf, nVerticesBufSize );
AddOpt( ESCHER_Prop_pSegmentInfo, true, nSegmentBufSize, (sal_uInt8*)pSegmentBuf, nSegmentBufSize );
AddOpt( ESCHER_Prop_pVertices, true, nVerticesBufSize - 6, pVerticesBuf, nVerticesBufSize );
AddOpt( ESCHER_Prop_pSegmentInfo, true, nSegmentBufSize, pSegmentBuf, nSegmentBufSize );
}
}
return bRetValue;

View File

@@ -444,7 +444,7 @@ SvStream& ReadPptFontEntityAtom( SvStream& rIn, PptFontEntityAtom& rAtom )
#endif
}
rAtom.aName = OUString(cData, i);
OutputDevice* pDev = (OutputDevice*)Application::GetDefaultDevice();
OutputDevice* pDev = Application::GetDefaultDevice();
rAtom.bAvailable = pDev->IsFontAvailable( rAtom.aName );
aHd.SeekToEndOfRecord( rIn );
return rIn;
@@ -1048,7 +1048,7 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
pTObj->SetModel( pSdrModel );
SfxItemSet aSet( pSdrModel->GetItemPool() );
if ( !pRet )
((SdrEscherImport*)this)->ApplyAttributes( rSt, aSet, rObjData );
ApplyAttributes( rSt, aSet, rObjData );
pTObj->SetMergedItemSet( aSet );
if ( pRet )
{