diff options
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/gallery.src | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 7e4cdcac4fc8..41ee2b86d22c 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -1304,8 +1304,8 @@ IMPL_LINK_NOARG(GalleryBrowser2, MiscHdl, LinkParamNone*, void) { maViewBox->SetOutStyle( maMiscOptions.GetToolboxStyle() ); - BitmapEx aIconBmpEx = BitmapEx( Image( GAL_RES( RID_SVXIMG_GALLERY_VIEW_ICON ) ).GetBitmapEx() ); - BitmapEx aListBmpEx = BitmapEx( Image( GAL_RES( RID_SVXIMG_GALLERY_VIEW_LIST ) ).GetBitmapEx() ); + BitmapEx aIconBmpEx(GAL_RES(RID_SVXBMP_GALLERY_VIEW_ICON)); + BitmapEx aListBmpEx(GAL_RES(RID_SVXBMP_GALLERY_VIEW_LIST)); if( maMiscOptions.AreCurrentSymbolsLarge() ) { diff --git a/svx/source/gallery2/gallery.src b/svx/source/gallery2/gallery.src index abd82ce5b140..bbea8503d4c0 100644 --- a/svx/source/gallery2/gallery.src +++ b/svx/source/gallery2/gallery.src @@ -178,14 +178,14 @@ Bitmap RID_SVXBMP_GALLERY_SOUND_7 File = "galsnd7.png"; }; -Image RID_SVXIMG_GALLERY_VIEW_ICON +Bitmap RID_SVXBMP_GALLERY_VIEW_ICON { - ImageBitmap = Bitmap { File = "galicon.png"; }; + File = "galicon.png"; }; -Image RID_SVXIMG_GALLERY_VIEW_LIST +Bitmap RID_SVXBMP_GALLERY_VIEW_LIST { - ImageBitmap = Bitmap { File = "gallist.png"; }; + File = "gallist.png"; }; Menu RID_SVXMN_GALLERY1 |