diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:04:37 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:04:37 +0000 |
commit | 24dd842f8035c04d31963f9bc0f436b3c07b81ad (patch) | |
tree | d17172e76d27692a7caa55b8a93d9711f6bd01fd /vcl | |
parent | e713cf349ab8b6684397ee259008839512d4f97c (diff) |
INTEGRATION: CWS vcl30stop2 (1.26.38); FILE MERGED
2008/07/24 13:27:46 pl 1.26.38.1: #i92075# another place that needs to ensure an autorelease pool
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/salvd.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/salvd.cxx b/vcl/aqua/source/gdi/salvd.cxx index 004638fa0532..5ab2f27a8d42 100644 --- a/vcl/aqua/source/gdi/salvd.cxx +++ b/vcl/aqua/source/gdi/salvd.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salvd.cxx,v $ - * $Revision: 1.26 $ + * $Revision: 1.27 $ * * This file is part of OpenOffice.org. * @@ -44,6 +44,9 @@ SalVirtualDevice* AquaSalInstance::CreateVirtualDevice( SalGraphics* pGraphics, long nDX, long nDY, USHORT nBitCount, const SystemGraphicsData *pData ) { + // #i92075# can be called first in a thread + SalData::ensureThreadAutoreleasePool(); + return new AquaSalVirtualDevice( static_cast< AquaSalGraphics* >( pGraphics ), nDX, nDY, nBitCount, pData ); } |