loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I14eaa418950ee40534c308a19c50422a9a58fd47
This commit is contained in:
@@ -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;
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user