From 39296e51daf0442ea20b6760b686234d27a3a37f Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Mon, 18 Aug 2008 12:29:17 +0000 Subject: INTEGRATION: CWS aquaupdateicon (1.66.18); FILE MERGED 2008/07/30 12:35:29 pl 1.66.18.1: #i92043# do not forget to mirror --- vcl/aqua/source/window/salframe.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'vcl/aqua/source/window/salframe.cxx') diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index bb1b2babf975..b7f924ecbd2e 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salframe.cxx,v $ - * $Revision: 1.67 $ + * $Revision: 1.68 $ * * This file is part of OpenOffice.org. * @@ -1497,7 +1497,11 @@ void AquaSalFrame::BeginSetClipRegion( ULONG nRects ) void AquaSalFrame::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) { if( nWidth && nHeight ) - maClippingRects.push_back( CGRectMake(nX, nY, nWidth, nHeight) ); + { + NSRect aRect = { { nX, nY }, { nWidth, nHeight } }; + VCLToCocoa( aRect, false ); + maClippingRects.push_back( CGRectMake(aRect.origin.x, aRect.origin.y, aRect.size.width, aRect.size.height) ); + } } void AquaSalFrame::EndSetClipRegion() -- cgit