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

loplugin:commaoperator

Change-Id: I481fe73256bf0d974c54a6419874fa76ea4beaa6
üst b3966004
......@@ -111,11 +111,15 @@ bool QuartzSalBitmap::Create( CGLayerRef xLayer, int nBitmapBits,
DBG_ASSERT( xLayer, "QuartzSalBitmap::Create() from non-layered context" );
// sanitize input parameters
if( nX < 0 )
nWidth += nX, nX = 0;
if( nX < 0 ) {
nWidth += nX;
nX = 0;
}
if( nY < 0 )
nHeight += nY, nY = 0;
if( nY < 0 ) {
nHeight += nY;
nY = 0;
}
const CGSize aLayerSize = CGLayerGetSize( xLayer );
SAL_INFO("vcl.cg", "CGLayerGetSize(" << xLayer << ") = " << aLayerSize );
......
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