diff options
Diffstat (limited to 'vcl/aqua/source/app/salinst.cxx')
-rw-r--r-- | vcl/aqua/source/app/salinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx index 9ba2bb0c0b67..c47479aad8b6 100644 --- a/vcl/aqua/source/app/salinst.cxx +++ b/vcl/aqua/source/app/salinst.cxx @@ -1326,7 +1326,7 @@ NSImage* CreateNSImage( const Image& rImage ) NSGraphicsContext* pContext = [NSGraphicsContext currentContext]; CGContextRef rCGContext = reinterpret_cast<CGContextRef>([pContext graphicsPort]); - const CGRect aDstRect = { {0, 0}, { aSize.Width(), aSize.Height() } }; + const CGRect aDstRect = CGRectMake( 0, 0, aSize.Width(), aSize.Height()); CGContextDrawImage( rCGContext, aDstRect, xImage ); [pImage unlockFocus]; |