From 022e59cac656d07cd90648d5315e1397e142fa2d Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Aug 2004 08:03:19 +0000 Subject: INTEGRATION: CWS jmf2 (1.16.12); FILE MERGED 2004/08/02 10:47:37 ka 1.16.12.1: #i32298#: use all media filters --- svx/source/gallery2/galobj.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'svx') diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index ae790efb3f24..68f1c8e72fe2 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -2,9 +2,9 @@ * * $RCSfile: galobj.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: rt $ $Date: 2004-07-12 14:38:37 $ + * last change: $Author: obo $ $Date: 2004-08-12 09:03:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -381,11 +381,14 @@ Bitmap SgaObjectSound::GetThumbBmp() const // standard default: - nId = RID_SVXBMP_GALLERY_SOUND_0; + nId = RID_SVXBMP_GALLERY_MEDIA; break; } - return Bitmap( GAL_RESID( nId ) ); + const BitmapEx aBmpEx( GAL_RESID( nId ) ); + const Color aTransColor( COL_WHITE ); + + return aBmpEx.GetBitmap( &aTransColor ); } // ------------------------------------------------------------------------ -- cgit