From 4ead0b686e490d3d74a56659043b82f3f66ff0a2 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 18 May 2006 09:09:00 +0000 Subject: INTEGRATION: CWS wot02 (1.23.74); FILE MERGED 2006/05/15 13:13:22 pl 1.23.74.1: #135437# prevent creation of default window while already closing shop --- vcl/source/gdi/virdev.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vcl/source/gdi/virdev.cxx') diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index 19dd512859ed..06db00f042c8 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -4,9 +4,9 @@ * * $RCSfile: virdev.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2006-03-29 11:25:58 $ + * last change: $Author: vg $ $Date: 2006-05-18 10:09:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -92,6 +92,8 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev, if ( !pOutDev ) pOutDev = ImplGetDefaultWindow(); + if( !pOutDev ) + return; SalGraphics* pGraphics; if ( !pOutDev->mpGraphics ) -- cgit