diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-18 02:49:48 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-18 02:49:48 +0200 |
commit | 3d52e47c7348aec13453a5e08a7878cb6f45e3a8 (patch) | |
tree | d23cba36904902443745f64061936f445194f50d /sfx2 | |
parent | d731f30e1d1da7d4e6f138d000b9ad5d008896e0 (diff) |
remove lots of dead boxes
Change-Id: Ia0e5930b9bbf0c81a5d2974d45730b5af75019f0
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/doc.hrc | 12 | ||||
-rw-r--r-- | sfx2/source/doc/doc.src | 57 |
2 files changed, 1 insertions, 68 deletions
diff --git a/sfx2/source/doc/doc.hrc b/sfx2/source/doc/doc.hrc index 001e2e856b32..997c78c81805 100644 --- a/sfx2/source/doc/doc.hrc +++ b/sfx2/source/doc/doc.hrc @@ -29,12 +29,8 @@ #define STR_ERROR_PRINTER_BUSY (RID_SFX_DOC_START+ 1) #define STR_NOSTARTPRINTER (RID_SFX_DOC_START+ 2) -#define MSG_CONFIRM_FILTER (RID_SFX_DOC_START+11) -#define MSG_CONFIRM_OVERWRITE_TEMPLATE (RID_SFX_DOC_START+12) - #define STR_DELETE_REGION (RID_SFX_DOC_START+14) #define STR_DELETE_TEMPLATE (RID_SFX_DOC_START+15) -#define MSG_REGION_NOTEMPTY (RID_SFX_DOC_START+17) #define BMP_STYLES_CLOSED (RID_SFX_DOC_START+ 0) #define BMP_STYLES_OPENED (RID_SFX_DOC_START+ 1) @@ -50,8 +46,6 @@ #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 MSG_CANT_OPEN_TEMPLATE (RID_SFX_DOC_START+ 25) -#define MSG_VIEW_OPEN_CANT_SAVE (RID_SFX_DOC_START+ 26) #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) @@ -61,9 +55,6 @@ #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 MSG_QUERY_RESET_DEFAULT_TEMPLATE (RID_SFX_DOC_START+ 39) -#define MSG_TEMPLATE_DIR_NOT_EXIST (RID_SFX_DOC_START+ 40) -#define MSG_DOCINFO_CANTREAD (RID_SFX_DOC_START+ 41) #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) @@ -78,8 +69,6 @@ #define RID_STR_WARNSTYLEOVERWRITE (RID_SFX_DOC_START+ 54) #define STR_SAVEACOPY (RID_SFX_DOC_START+ 55) -#define MSG_OPEN_READONLY (RID_SFX_DOC_START+ 58) - #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) @@ -111,7 +100,6 @@ #define STR_OBJECT (RID_SFX_DOC_START+ 84) -#define DLG_MACROQUERY (RID_SFX_DOC_START+87) #define BTN_OK (RID_SFX_DOC_START+88) #define BTN_CANCEL (RID_SFX_DOC_START+89) #define FT_OK (RID_SFX_DOC_START+90) diff --git a/sfx2/source/doc/doc.src b/sfx2/source/doc/doc.src index e6aac7e95953..7c71343bb311 100644 --- a/sfx2/source/doc/doc.src +++ b/sfx2/source/doc/doc.src @@ -20,18 +20,6 @@ #include "doc.hrc" #define __RSC -QueryBox MSG_CONFIRM_FILTER -{ - Buttons = WB_YES_NO ; - DefButton = WB_DEF_YES ; - Message [ en-US ] = "Saving in external formats may have caused\n information loss. Do you still want to close?" ; -}; -QueryBox MSG_CONFIRM_OVERWRITE_TEMPLATE -{ - Buttons = WB_YES_NO ; - DefButton = WB_DEF_NO ; - Message [ en-US ] = "Name already in use.\nDo you want to overwrite document template?" ; -}; String STR_DELETE_REGION { Text [ en-US ] = "Are you sure you want to delete the region \"$1\"?" ; @@ -40,12 +28,7 @@ String STR_DELETE_TEMPLATE { Text [ en-US ] = "Are you sure you want to delete the entry \"$1\"?" ; }; -QueryBox MSG_REGION_NOTEMPTY -{ - Buttons = WB_YES_NO ; - DefButton = WB_DEF_NO ; - Message [ en-US ] = "The category is not empty.\nDelete anyway?" ; -}; + Bitmap BMP_STYLES_CLOSED { File = "newex.bmp" ; }; Bitmap BMP_STYLES_OPENED { File = "newex.bmp" ; }; @@ -78,16 +61,6 @@ String STR_BACKUP_COPY { Text [ en-US ] = "Copy" ; }; -InfoBox MSG_CANT_OPEN_TEMPLATE -{ - Message [ en-US ] = "The template could not be opened." ; -}; -InfoBox MSG_VIEW_OPEN_CANT_SAVE -{ - BUTTONS = WB_OK ; - DEFBUTTON = WB_DEF_OK ; - Message [ en-US ] = "Document already open for editing." ; -}; String STR_ERROR_SAVE { Text [ en-US ] = "Error recording document " ; @@ -116,20 +89,6 @@ String STR_QUERY_DEFAULT_TEMPLATE { Text [ en-US ] = "Should the template \"$(TEXT)\" become the default template?" ; }; -QueryBox MSG_QUERY_RESET_DEFAULT_TEMPLATE -{ - Buttons = WB_YES_NO ; - DefButton = WB_DEF_NO ; - Message [ en-US ] = "Do you want to reset the default template?" ; -}; -InfoBox MSG_TEMPLATE_DIR_NOT_EXIST -{ - Message [ en-US ] = "Template directory\n$(DIR)\ndoes not exist." ; -}; -InfoBox MSG_DOCINFO_CANTREAD -{ - Message [ en-US ] = "Document info cannot be read." ; -}; String STR_ERROR_NOSTORAGE { Text [ en-US ] = "The selected file has an incorrect format." ; @@ -182,12 +141,6 @@ String RID_STR_WARNSTYLEOVERWRITE { Text [ en-US ] = "Should the \"$(ARG1)\" Style be replaced?" ; }; -QueryBox MSG_OPEN_READONLY -{ - BUTTONS = WB_YES_NO ; - DEFBUTTON = WB_DEF_YES ; - Message [ en-US ] = "Document cannot be opened for editing.\nDo you want to open it as read-only?" ; -}; String STR_EDIT { Text [ en-US ] = "Edit" ; @@ -284,14 +237,6 @@ String STR_OBJECT Text [ en-US ] = "Object" ; }; -QueryBox DLG_MACROQUERY -{ - Buttons = WB_OK_CANCEL; - Title [ en-US ] = "Run Macro" ; - - Message [ en-US ] = "This document contains macros. $(TEXT)"; -}; - String BTN_OK { Text [ en-US ] = "Run" ; |