[Libreoffice-commits] core.git: 2 commits - sfx2/inc sfx2/source
Joren De Cuyper
jorendc at libreoffice.org
Sun May 3 21:18:56 PDT 2015
sfx2/inc/filedlghelper.hrc | 14 --
sfx2/source/dialog/filedlghelper.src | 70 --------------
sfx2/source/doc/doc.hrc | 55 -----------
sfx2/source/doc/doc.src | 173 -----------------------------------
4 files changed, 1 insertion(+), 311 deletions(-)
New commits:
commit b3d5cba226cd14800345641b05df1b4d3f977542
Author: Joren De Cuyper <jorendc at libreoffice.org>
Date: Sun May 3 19:43:34 2015 +0200
Delete unused strings in doc.src and doc.hrc
These strings were only used in the src and hrc file. No usecase in any .cxx file found.
Change-Id: Ib590629ee4c7a488254a18398ff92e9259f4589c
Reviewed-on: https://gerrit.libreoffice.org/15612
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sfx2/source/doc/doc.hrc b/sfx2/source/doc/doc.hrc
index 4f16fdc..a2e8f68 100644
--- a/sfx2/source/doc/doc.hrc
+++ b/sfx2/source/doc/doc.hrc
@@ -29,57 +29,18 @@
#define STR_ERROR_PRINTER_BUSY (RID_SFX_DOC_START+ 1)
#define STR_NOSTARTPRINTER (RID_SFX_DOC_START+ 2)
-#define STR_DELETE_REGION (RID_SFX_DOC_START+14)
-#define STR_DELETE_TEMPLATE (RID_SFX_DOC_START+15)
-
-#define BMP_STYLES_CLOSED (RID_SFX_DOC_START+ 0)
-#define BMP_STYLES_OPENED (RID_SFX_DOC_START+ 1)
-
-#define BMP_STYLES_FAMILY1 (RID_SFX_DOC_START+ 2)
-#define BMP_STYLES_FAMILY2 (RID_SFX_DOC_START+ 3)
-#define BMP_STYLES_FAMILY3 (RID_SFX_DOC_START+ 4)
-#define BMP_STYLES_FAMILY4 (RID_SFX_DOC_START+ 5)
-
-#define STR_STYLES (RID_SFX_DOC_START+ 18)
-#define STR_MACROS (RID_SFX_DOC_START+ 19)
-
-#define STR_PRINT_STYLES (RID_SFX_DOC_START+ 20)
-#define STR_PRINT_STYLES_HEADER (RID_SFX_DOC_START+ 21)
#define STR_BACKUP_COPY (RID_SFX_DOC_START+ 23)
#define STR_ERROR_SAVE (RID_SFX_DOC_START+ 27)
#define STR_TEMPLATE_FILTER (RID_SFX_DOC_START+ 28)
-#define STR_ERROR_COPY_TEMPLATE (RID_SFX_DOC_START+ 29)
-
-#define STR_ERROR_DELETE_TEMPLATE (RID_SFX_DOC_START+ 30)
-#define STR_ERROR_MOVE_TEMPLATE (RID_SFX_DOC_START+ 32)
-#define STR_ERROR_SAVE_TEMPLATE (RID_SFX_DOC_START+ 34)
-#define STR_CONFIG (RID_SFX_DOC_START+ 37)
-#define STR_QUERY_DEFAULT_TEMPLATE (RID_SFX_DOC_START+ 39)
-#define STR_ERROR_NOSTORAGE (RID_SFX_DOC_START+ 42)
-#define STR_QUERY_MUSTOWNFORMAT (RID_SFX_DOC_START+ 44)
+
#define STR_SAVEDOC (RID_SFX_DOC_START+ 45)
#define STR_UPDATEDOC (RID_SFX_DOC_START+ 46)
#define STR_SAVEASDOC (RID_SFX_DOC_START+ 47)
#define STR_CLOSEDOC (RID_SFX_DOC_START+ 49)
#define STR_CLOSEDOC_ANDRETURN (RID_SFX_DOC_START+ 50)
-#define STR_WIZARD (RID_SFX_DOC_START+ 51)
-#define RID_STR_FILTCONFIG (RID_SFX_DOC_START+ 52)
-#define RID_STR_FILTBASIC (RID_SFX_DOC_START+ 53)
-#define RID_STR_WARNSTYLEOVERWRITE (RID_SFX_DOC_START+ 54)
#define STR_SAVEACOPY (RID_SFX_DOC_START+ 55)
-#define RID_OFFICEFILTER (RID_SFX_DOC_START+ 59)
-#define RID_OFFICEFILTER_WILDCARD (RID_SFX_DOC_START+ 60)
-#define RID_OFFICEFILTER_MACTYPE (RID_SFX_DOC_START+ 61)
-#define RID_OFFICEFILTER_OS2TYPE (RID_SFX_DOC_START+ 62)
-#define STR_FRAMEOBJECT_PROPERTIES (RID_SFX_DOC_START+ 63)
-
-#define STR_FSET_FILTERNAME0 (RID_SFX_DOC_START+ 64)
-#define STR_FSET_FILTERNAME1 (RID_SFX_DOC_START+ 65)
-
-#define STR_TEMPL_MOVED (RID_SFX_DOC_START+ 66)
-#define STR_TEMPL_RESET (RID_SFX_DOC_START+ 67)
#define STR_AUTOMATICVERSION (RID_SFX_DOC_START+ 68)
#define STR_DOCTYPENAME_SW (RID_SFX_DOC_START+ 69)
@@ -91,25 +52,11 @@
#define STR_DOCTYPENAME_MESSAGE (RID_SFX_DOC_START+ 75)
#define RID_STR_NEW_TASK (RID_SFX_DOC_START+ 76)
-#define STR_PACKNGO_NOACCESS (RID_SFX_DOC_START+ 79)
-#define STR_PACKNGO_NEWMEDIUM (RID_SFX_DOC_START+ 80)
-
#define TEMPLATE_LONG_NAMES_ARY (RID_SFX_DOC_START+ 81)
#define TEMPLATE_SHORT_NAMES_ARY (RID_SFX_DOC_START+ 82)
#define RID_CNT_STR_WAITING (RID_SFX_DOC_START+ 83)
-#define STR_OBJECT (RID_SFX_DOC_START+ 84)
-
-#define BTN_OK (RID_SFX_DOC_START+88)
-#define BTN_CANCEL (RID_SFX_DOC_START+89)
-#define FT_OK (RID_SFX_DOC_START+90)
-#define FT_CANCEL (RID_SFX_DOC_START+91)
-
-#define STR_EXPORTASPDF_TITLE (RID_SFX_DOC_START+92)
#define STR_EXPORTBUTTON (RID_SFX_DOC_START+93)
-#define STR_EXPORTWITHCFGBUTTON (RID_SFX_DOC_START+94)
-
-#define RID_SVXSTR_SECURITY_ADDPATH (RID_SFX_DOC_START+95)
#define STR_LABEL_FILEFORMAT (RID_SFX_DOC_START+96)
diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src
index 66a2e9e..6d14650 100644
--- a/sfx2/source/doc/doc.src
+++ b/sfx2/source/doc/doc.src
@@ -20,83 +20,10 @@
#include "doc.hrc"
#define __RSC
-String STR_DELETE_REGION
-{
- Text [ en-US ] = "Are you sure you want to delete the region \"$1\"?" ;
-};
-String STR_DELETE_TEMPLATE
-{
- Text [ en-US ] = "Are you sure you want to delete the entry \"$1\"?" ;
-};
-
-Bitmap BMP_STYLES_CLOSED { File = "newex.bmp" ; };
-Bitmap BMP_STYLES_OPENED { File = "newex.bmp" ; };
-
-String STR_STYLES
-{
- Text [ en-US ] = "Styles" ;
-};
-String STR_MACROS
-{
- Text [ en-US ] = "Macros" ;
-};
-String STR_CONFIG
-{
- Text [ en-US ] = "Configuration" ;
-};
-String STR_PRINT_STYLES_HEADER
-{
- Text [ en-US ] = "Styles in " ;
-};
-String STR_PRINT_STYLES
-{
- Text [ en-US ] = "Printing Styles" ;
-};
-Bitmap BMP_STYLES_FAMILY1 { File = "styfam1.bmp" ; };
-Bitmap BMP_STYLES_FAMILY2 { File = "styfam2.bmp" ; };
-Bitmap BMP_STYLES_FAMILY3 { File = "styfam3.bmp" ; };
-Bitmap BMP_STYLES_FAMILY4 { File = "styfam4.bmp" ; };
-
-String STR_BACKUP_COPY
-{
- Text [ en-US ] = "Copy" ;
-};
-String STR_ERROR_SAVE
-{
- Text [ en-US ] = "Error recording document " ;
-};
String STR_TEMPLATE_FILTER
{
Text [ en-US ] = "Templates" ;
};
-String STR_ERROR_COPY_TEMPLATE
-{
- Text [ en-US ] = "Error copying template \"$1\". \nA template with this name may already exist." ;
-};
-String STR_ERROR_DELETE_TEMPLATE
-{
- Text [ en-US ] = "The template \"$1\" can not be deleted." ;
-};
-String STR_ERROR_MOVE_TEMPLATE
-{
- Text [ en-US ] = "Error moving template \"$1\"." ;
-};
-String STR_ERROR_SAVE_TEMPLATE
-{
- Text [ en-US ] = "Error saving template " ;
-};
-String STR_QUERY_DEFAULT_TEMPLATE
-{
- Text [ en-US ] = "Should the template \"$(TEXT)\" become the default template?" ;
-};
-String STR_ERROR_NOSTORAGE
-{
- Text [ en-US ] = "The selected file has an incorrect format." ;
-};
-String STR_QUERY_MUSTOWNFORMAT
-{
- Text [ en-US ] = "Documents cannot be saved in $(FORMAT) format. Do you\nwant to save your changes using the $(OWNFORMAT) format?" ;
-};
String STR_SAVEDOC
{
Text [ en-US ] = "~Save" ;
@@ -121,63 +48,10 @@ String STR_CLOSEDOC_ANDRETURN
{
Text [ en-US ] = "~Close & Return to " ;
};
-String STR_WIZARD
-{
- Text [ en-US ] = " AutoPilot" ;
-};
-String RID_STR_FILTCONFIG
-{
- Text [ en-US ] = "Configurations" ;
-};
-String RID_STR_FILTBASIC
-{
- Text [ en-US ] = "%PRODUCTNAME Basic libraries" ;
-};
-String RID_STR_WARNSTYLEOVERWRITE
-{
- Text [ en-US ] = "Should the \"$(ARG1)\" Style be replaced?" ;
-};
String STR_EDIT
{
Text [ en-US ] = "Edit" ;
};
-String RID_OFFICEFILTER
-{
- Text [ en-US ] = "%PRODUCTNAME Documents" ;
-};
-String RID_OFFICEFILTER_WILDCARD
-{
- Text = "*.sdw;*.sdd;*.sda;*.sdc;*.smf;*.sds;*.sd;*.sdm;*.smd" ;
-};
-String RID_OFFICEFILTER_MACTYPE
-{
- Text = "SVsd0;SW/\2510;SVsc0;SVsm0;SVsh0;SVsd1;SW/\2511;SVsc1;SVsm1;SVsh1;MAIL" ;
-};
-String RID_OFFICEFILTER_OS2TYPE
-{
- Text = "StarWriter 4.0;StarWriter 3.0;StarDraw 4.0;StarDraw 3.0;StarCalc 4.0;StarCalc 3.0;StarMath 4.0;StarMath 3.0;StarChart 4.0;StarChart 3.0;StarFrameSet;StarMessage" ;
-};
-String STR_FRAMEOBJECT_PROPERTIES
-{
- Text [ en-US ] = "Propert~ies..." ;
-};
-String STR_FSET_FILTERNAME0
-{
- Text [ en-US ] = "HTML (FrameSet)" ;
-};
-String STR_FSET_FILTERNAME1
-{
- // only translate 'Document'
- Text [ en-US ] = "%PRODUCTNAME Frame Document" ;
-};
-String STR_TEMPL_MOVED
-{
- Text [ en-US ] = "The template \"$(TEMPLATE)\" was not found at the original location. A template with the same name exists at \"$(FOUND)\". Should this template be used in the future when comparing?" ;
-};
-String STR_TEMPL_RESET
-{
- Text [ en-US ] = "The template \"$(TEMPLATE)\" has not been found. Should the template be looked for the next time the document is opened ?" ;
-};
String STR_AUTOMATICVERSION
{
Text [ en-US ] = "Automatically saved version" ;
@@ -218,58 +92,11 @@ String STR_DOCTYPENAME_MESSAGE
Text [ en-US ] = "Message";
};
-String STR_PACKNGO_NOACCESS
-{
- Text [ en-US ] = "Access to the current data medium not possible." ;
-};
-
-String STR_PACKNGO_NEWMEDIUM
-{
- Text [ en-US ] = "Insert the next data carrier and click OK." ;
-};
-
-String STR_OBJECT
-{
- Text [ en-US ] = "Object" ;
-};
-
-String BTN_OK
-{
- Text [ en-US ] = "Run" ;
-};
-String BTN_CANCEL
-{
- Text [ en-US ] = "Do Not Run" ;
-};
-String FT_CANCEL
-{
- Text [ en-US ] = "According to the security settings, the macros in this document should not be run. Do you want to run them anyway?";
-};
-String FT_OK
-{
- Text [ en-US ] = "Do you want to allow these macros to be run?";
-};
-
-String STR_EXPORTASPDF_TITLE
-{
- Text [ en-US ] = "Export as PDF";
-};
-
-String STR_EXPORTWITHCFGBUTTON
-{
- Text [ en-US ] = "Export...";
-};
-
String STR_EXPORTBUTTON
{
Text [ en-US ] = "Export" ;
};
-String RID_SVXSTR_SECURITY_ADDPATH
-{
- Text [ en-US ] = "Add this directory to the list of secure paths: " ;
-};
-
String STR_LABEL_FILEFORMAT
{
Text [ en-US ] = "File format:" ;
commit 8c0c4d205fa4dfaca3acb18c9f5ffb593754febf
Author: Joren De Cuyper <jorendc at libreoffice.org>
Date: Sun May 3 19:14:35 2015 +0200
Delete unused strings in filedlghelper.src and filedlghelper.hrc
These strings were only used in the src and hrc file. No usecase in any .cxx file found.
Change-Id: I719520b985e55b655badf3676499d3dd9d97b363
Reviewed-on: https://gerrit.libreoffice.org/15610
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sfx2/inc/filedlghelper.hrc b/sfx2/inc/filedlghelper.hrc
index 9ef4d51..42c66fa 100644
--- a/sfx2/inc/filedlghelper.hrc
+++ b/sfx2/inc/filedlghelper.hrc
@@ -22,20 +22,6 @@
#include <sfx2/sfx.hrc>
-#define STR_CB_AUTO_EXTENSION (RID_SFX_EXPLORER_START + 51)
-#define STR_CB_SELECTION (RID_SFX_EXPLORER_START + 52)
-#define STR_CB_INSERT_AS_LINK (RID_SFX_EXPLORER_START + 53)
-#define STR_CB_SHOW_PREVIEW (RID_SFX_EXPLORER_START + 54)
-#define STR_CB_READONLY (RID_SFX_EXPLORER_START + 55)
-#define STR_CB_PASSWORD (RID_SFX_EXPLORER_START + 56)
-#define STR_CB_FILTER_OPTIONS (RID_SFX_EXPLORER_START + 57)
-#define STR_PB_PLAY (RID_SFX_EXPLORER_START + 58)
-#define STR_PB_STOP (RID_SFX_EXPLORER_START + 59)
-#define STR_PB_OPEN (RID_SFX_EXPLORER_START + 60)
-#define STR_PB_SAVE (RID_SFX_EXPLORER_START + 61)
-#define STR_LB_IMAGE_TEMPLATE (RID_SFX_EXPLORER_START + 62)
-#define STR_LB_TEMPLATES (RID_SFX_EXPLORER_START + 63)
-#define STR_LB_VERSION (RID_SFX_EXPLORER_START + 64)
#define STR_PB_SAVEACOPY (RID_SFX_EXPLORER_START + 65)
#endif
diff --git a/sfx2/source/dialog/filedlghelper.src b/sfx2/source/dialog/filedlghelper.src
index 2cdb6a6..a8bb988 100644
--- a/sfx2/source/dialog/filedlghelper.src
+++ b/sfx2/source/dialog/filedlghelper.src
@@ -45,81 +45,11 @@ String STR_SFX_IMPORT_ALL
Text [ en-US ] = "<All formats>" ;
};
-String STR_CB_AUTO_EXTENSION
-{
- Text [ en-US ] = "~Automatic file name extension" ;
-};
-
-String STR_CB_SELECTION
-{
- Text [ en-US ] = "~Selection" ;
-};
-
-String STR_CB_INSERT_AS_LINK
-{
- Text [ en-US ] = "~Link" ;
-};
-
-String STR_CB_SHOW_PREVIEW
-{
- Text [ en-US ] = "Pr~eview" ;
-};
-
-String STR_CB_READONLY
-{
- Text [ en-US ] = "~Read-only" ;
-};
-
-String STR_CB_PASSWORD
-{
- Text [ en-US ] = "Save with ~password" ;
-};
-
-String STR_CB_FILTER_OPTIONS
-{
- Text [ en-US ] = "Edit ~filter settings";
-};
-
-String STR_PB_PLAY
-{
- Text [ en-US ] = "~Play" ;
-};
-
-String STR_PB_STOP
-{
- Text [ en-US ] = "Sto~p" ;
-};
-
-String STR_PB_OPEN
-{
- Text [ en-US ] = "~Open" ;
-};
-
-String STR_PB_SAVE
-{
- Text [ en-US ] = "~Save" ;
-};
-
String STR_PB_SAVEACOPY
{
Text [ en-US ] = "Save a Copy" ;
};
-String STR_LB_IMAGE_TEMPLATE
-{
- Text [ en-US ] = "Style:" ;
-};
-
-String STR_LB_TEMPLATES
-{
- Text [ en-US ] = "~Templates:" ;
-};
-
-String STR_LB_VERSION
-{
- Text [ en-US ] = "~Version:";
-};
-
//******************************************************************** EOF
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list