Kaydet (Commit) 769ad348 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:cstylecast: emfio

Change-Id: I52e540bdd8ba0090dec752deb7b1fa5c67ae3c85
üst 3d8090f8
......@@ -823,7 +823,7 @@ namespace emfio
case EMR_SETROP2 :
{
mpInputStream->ReadUInt32( nDat32 );
SetRasterOp( (WMFRasterOp)nDat32 );
SetRasterOp( static_cast<WMFRasterOp>(nDat32) );
}
break;
......
......@@ -203,7 +203,7 @@ namespace emfio
{
sal_uInt16 nROP2 = 0;
mpInputStream->ReadUInt16( nROP2 );
SetRasterOp( (WMFRasterOp)nROP2 );
SetRasterOp( static_cast<WMFRasterOp>(nROP2) );
}
break;
......@@ -986,7 +986,7 @@ namespace emfio
WMFRasterOp nOldROP = WMFRasterOp::NONE;
mpInputStream->ReadUInt32( nROP );
Size aSize = ReadYXExt();
nOldROP = SetRasterOp( (WMFRasterOp)nROP );
nOldROP = SetRasterOp( static_cast<WMFRasterOp>(nROP) );
DrawRect( tools::Rectangle( ReadYX(), aSize ), false );
SetRasterOp( nOldROP );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment