summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-08-12 08:03:19 +0000
committerOliver Bolte <obo@openoffice.org>2004-08-12 08:03:19 +0000
commit022e59cac656d07cd90648d5315e1397e142fa2d (patch)
tree5562a3f448c0c93be727c009e5e3e7d70f1e1a18 /svx
parent051d391d5d3e9007702f04df568ec73a3628198a (diff)
INTEGRATION: CWS jmf2 (1.16.12); FILE MERGED
2004/08/02 10:47:37 ka 1.16.12.1: #i32298#: use all media filters
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gallery2/galobj.cxx11
1 files changed, 7 insertions, 4 deletions
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 );
}
// ------------------------------------------------------------------------