diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-05-18 09:09:00 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-05-18 09:09:00 +0000 |
commit | 4ead0b686e490d3d74a56659043b82f3f66ff0a2 (patch) | |
tree | 0445c764434c89f350b2279a66c4bf76df879331 /vcl/source/gdi/virdev.cxx | |
parent | fcfd47abdddfa619ea30bbe12525afb3fec68251 (diff) |
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
Diffstat (limited to 'vcl/source/gdi/virdev.cxx')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
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 ) |