diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:29:17 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:29:17 +0000 |
commit | 39296e51daf0442ea20b6760b686234d27a3a37f (patch) | |
tree | 78376b3f351d7d5e85e4659d23f767f035d1a583 /vcl/aqua/source/window/salframe.cxx | |
parent | c020497e35ced754dbaf83e9e4ee71ee79f80e2b (diff) |
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
Diffstat (limited to 'vcl/aqua/source/window/salframe.cxx')
-rw-r--r-- | vcl/aqua/source/window/salframe.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
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() |