diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-10-29 09:25:50 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-10-29 09:25:50 +0000 |
commit | 011bcd1ea1e8ce10f6b9946d8d44d05a59387b8c (patch) | |
tree | 8037c716c846e504acc22b8082c5b886f661203d /vcl/source/gdi/bitmap.cxx | |
parent | 0b3f346d173ae177ab2656b5e9953e5a310eebe1 (diff) |
CWS-TOOLING: integrate CWS vcl95
Diffstat (limited to 'vcl/source/gdi/bitmap.cxx')
-rw-r--r-- | vcl/source/gdi/bitmap.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/gdi/bitmap.cxx b/vcl/source/gdi/bitmap.cxx index 2d12a67efedf..572946f71690 100644 --- a/vcl/source/gdi/bitmap.cxx +++ b/vcl/source/gdi/bitmap.cxx @@ -513,6 +513,9 @@ void Bitmap::ReleaseAccess( BitmapReadAccess* pBitmapAccess ) BOOL Bitmap::Erase( const Color& rFillColor ) { + if( !(*this) ) + return TRUE; + BitmapWriteAccess* pWriteAcc = AcquireWriteAccess(); BOOL bRet = FALSE; |