diff options
author | hdu <duerr@sun.com> | 2010-01-08 12:59:39 +0100 |
---|---|---|
committer | hdu <duerr@sun.com> | 2010-01-08 12:59:39 +0100 |
commit | 432e0fcb93c713a39890ec7ed0769521ef6ef3e8 (patch) | |
tree | a8e4a39d7b027e2bb525611f26a325afb733ecf4 /vcl | |
parent | 33e343aba54517201820c54ad01a9cf410d1d3c3 (diff) |
#i108138# fix printing crash which happens since DEV300_m66
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 51aad0790a26..28fa4f8f5461 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -5601,6 +5601,8 @@ void OutputDevice::DrawTextArray( const Point& rStartPt, const String& rStr, if ( !IsDeviceOutputNecessary() ) return; + if( !mpGraphics && !ImplGetGraphics() ) + return; if( mbInitClipRegion ) ImplInitClipRegion(); if( mbOutputClipped ) |