Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi!

Fix for EasyHack FDO42454 (
https://bugs.freedesktop.org/show_bug.cgi?id=42454) in attachment for
review.

I have found 8 high-contrast cross icons in images.zip:
res/sx03241.png
res/lx03241.png
res/commandimagelist/lc_splitparentvertical.png
sw/res/anchor.png
sw/res/danchor.png
fpicker/res/list.png
svx/res/galimpl.png
svx/res/galimps.png

But only list.png, galimpl.png, galimps.png were referenced in the code:

fpicker/res/list.png: list.bmp (removed from
/fpicker/source/office/iodlg.src in the patch)
svx/res/galimps.png: galimps.bmp (removed from
svx/source/gallery2/gallery.src in the patch)
svx/res/galimpl.png: galimpl.bmp (removed from
cui/source/dialogs/gallery.src in the patch)

Thanks,
Gustavo Pacheco.
From 32233a6f91c92cb29f7508bc6a67ee364da2446d Mon Sep 17 00:00:00 2001
From: Gustavo Buzzatti Pacheco <gbpacheco@gmail.com>
Date: Fri, 16 Dec 2011 17:55:26 -0200
Subject: [PATCH] Fix for EasyHack FDO42454, remove code associated with unused icons

fpicker/res/list.png: list.bmp removed from /fpicker/source/office/iodlg.src
svx/res/galimps.png: galimps.bmp removed from svx/source/gallery2/gallery.src
svx/res/galimpl.png: galimpl.bmp removed from cui/source/dialogs/gallery.src
---
 cui/source/dialogs/gallery.src  |    5 -----
 fpicker/source/office/iodlg.src |    8 --------
 svx/source/gallery2/gallery.src |    5 -----
 3 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/cui/source/dialogs/gallery.src b/cui/source/dialogs/gallery.src
index 0108027..3607d18 100644
--- a/cui/source/dialogs/gallery.src
+++ b/cui/source/dialogs/gallery.src
@@ -468,11 +468,6 @@ Bitmap RID_SVXBMP_THEME_NORMAL_BIG
     File = "galnorl.bmp" ;
 };
 
-Bitmap RID_SVXBMP_THEME_IMPORTED_BIG
-{
-    File = "galimpl.bmp" ;
-};
-
 Bitmap RID_SVXBMP_THEME_READONLY_BIG
 {
     File = "galrdol.bmp" ;
diff --git a/fpicker/source/office/iodlg.src b/fpicker/source/office/iodlg.src
index 4a3c2f6..2015a5c 100644
--- a/fpicker/source/office/iodlg.src
+++ b/fpicker/source/office/iodlg.src
@@ -82,14 +82,6 @@ ModalDialog DLG_SVT_EXPLORERFILE
         HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_LISTVIEW";
         TabStop = FALSE ;
         Pos = MAP_APPFONT ( 109 , 6 ) ;
-        ButtonImage = Image
-        {
-            ImageBitmap = Bitmap
-            {
-                File = "list.bmp" ;
-            };
-            MASKCOLOR
-        };
         QuickHelpText [ en-US ] = "List";
     };
         HelpID = "fpicker:ImageButton:DLG_SVT_EXPLORERFILE:BTN_EXPLORERFILE_DETAILSVIEW";
diff --git a/svx/source/gallery2/gallery.src b/svx/source/gallery2/gallery.src
index b801b1d..6bb583a 100644
--- a/svx/source/gallery2/gallery.src
+++ b/svx/source/gallery2/gallery.src
@@ -190,11 +190,6 @@ Bitmap RID_SVXBMP_THEME_NORMAL
     File = "galnors.bmp" ;
 };
 
-Bitmap RID_SVXBMP_THEME_IMPORTED
-{
-    File = "galimps.bmp" ;
-};
-
 Bitmap RID_SVXBMP_THEME_READONLY
 {
     File = "galrdos.bmp" ;
-- 
1.7.0.4



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.