From ffde331fbefec360d0f6ca5268cdc9acd1a6440b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 5 Nov 2015 09:17:58 +0100 Subject: [PATCH] Remove unused strings Change-Id: I376a1a9c8198e71eb8fd893ca4382fd25bd55817 --- .../Office/PresentationMinimizer.xcu | 21 -------------- .../Office/PresentationMinimizer.xcs | 28 ------------------- sdext/source/minimizer/pppoptimizertoken.cxx | 7 ----- sdext/source/minimizer/pppoptimizertoken.hxx | 7 ----- 4 files changed, 63 deletions(-) diff --git a/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu index 15327e657604..d5fb575ddc17 100644 --- a/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu +++ b/officecfg/registry/data/org/openoffice/Office/PresentationMinimizer.xcu @@ -118,9 +118,6 @@ The current presentation contains no OLE objects. Choose which slides to delete - - Master Pages - Delete unused ~master pages @@ -139,12 +136,6 @@ The current presentation contains no OLE objects. Choose where to apply the following changes - - Progress - - - Objects optimized - ~Apply changes to current presentation @@ -172,21 +163,9 @@ The current presentation contains no OLE objects. Estimated new file size: - - %1 MB - My Settings - - default session - - - The optimization will modify the current document. Do you want to continue? - - - ~Yes - OK diff --git a/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs index 49b7415ca5eb..c283f2768a2c 100644 --- a/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/PresentationMinimizer.xcs @@ -255,10 +255,6 @@ The current presentation contains no OLE objects. String STR_CHOOSE_SLIDES. Choose which slides to delete - - String STR_MASTER_PAGES. - Master Pages - String STR_DELETE_MASTER_PAGES. Delete unused ~master pages @@ -283,14 +279,6 @@ The current presentation contains no OLE objects. String STR_SUMMARY_TITLE. Choose where to apply the following changes - - String STR_PROGRESS. - Progress - - - String STR_OBJECTS_OPTIMIZED. - Objects optimized - String STR_APPLY_TO_CURRENT. ~Apply changes to current presentation @@ -329,26 +317,10 @@ The current presentation contains no OLE objects. String STR_ESTIMATED_FILESIZE. Estimated new file size: - - String STR_MB. - %1 MB - String MY_SETTINGS. My Settings - - String STR_DEFAULT_SESSION. - default session - - - String STR_MODIFY_WARNING. - The optimization will modify the current document. Do you want to continue? - - - String STR_YES. - ~Yes - String STR_OK. OK diff --git a/sdext/source/minimizer/pppoptimizertoken.cxx b/sdext/source/minimizer/pppoptimizertoken.cxx index ecce84831151..cc616e9fd13a 100644 --- a/sdext/source/minimizer/pppoptimizertoken.cxx +++ b/sdext/source/minimizer/pppoptimizertoken.cxx @@ -244,15 +244,12 @@ static const TokenTable pTokenTableArray[] = { "STR_NO_OLE_OBJECTS_DESC", STR_NO_OLE_OBJECTS_DESC }, { "STR_SLIDES", STR_SLIDES }, { "STR_CHOOSE_SLIDES", STR_CHOOSE_SLIDES }, - { "STR_MASTER_PAGES", STR_MASTER_PAGES }, { "STR_DELETE_MASTER_PAGES", STR_DELETE_MASTER_PAGES }, { "STR_DELETE_NOTES_PAGES", STR_DELETE_NOTES_PAGES }, { "STR_DELETE_HIDDEN_SLIDES", STR_DELETE_HIDDEN_SLIDES }, { "STR_CUSTOM_SHOW", STR_CUSTOM_SHOW }, { "STR_SUMMARY", STR_SUMMARY }, { "STR_SUMMARY_TITLE", STR_SUMMARY_TITLE }, - { "STR_PROGRESS", STR_PROGRESS }, - { "STR_OBJECTS_OPTIMIZED", STR_OBJECTS_OPTIMIZED }, { "STR_APPLY_TO_CURRENT", STR_APPLY_TO_CURRENT }, { "STR_AUTOMATICALLY_OPEN", STR_AUTOMATICALLY_OPEN }, { "STR_SAVE_SETTINGS", STR_SAVE_SETTINGS }, @@ -262,11 +259,7 @@ static const TokenTable pTokenTableArray[] = { "STR_CREATE_REPLACEMENT", STR_CREATE_REPLACEMENT }, { "STR_CURRENT_FILESIZE", STR_CURRENT_FILESIZE }, { "STR_ESTIMATED_FILESIZE", STR_ESTIMATED_FILESIZE }, - { "STR_MB", STR_MB }, { "MY_SETTINGS", STR_MY_SETTINGS }, - { "STR_DEFAULT_SESSION", STR_DEFAULT_SESSION }, - { "STR_MODIFY_WARNING", STR_MODIFY_WARNING }, - { "STR_YES", STR_YES }, { "STR_OK", STR_OK }, { "STR_INFO_1", STR_INFO_1 }, { "STR_INFO_2", STR_INFO_2 }, diff --git a/sdext/source/minimizer/pppoptimizertoken.hxx b/sdext/source/minimizer/pppoptimizertoken.hxx index 972ce7ada738..e7d5ce0a0735 100644 --- a/sdext/source/minimizer/pppoptimizertoken.hxx +++ b/sdext/source/minimizer/pppoptimizertoken.hxx @@ -228,15 +228,12 @@ enum PPPOptimizerTokenEnum STR_NO_OLE_OBJECTS_DESC, STR_SLIDES, STR_CHOOSE_SLIDES, - STR_MASTER_PAGES, STR_DELETE_MASTER_PAGES, STR_DELETE_NOTES_PAGES, STR_DELETE_HIDDEN_SLIDES, STR_CUSTOM_SHOW, STR_SUMMARY, STR_SUMMARY_TITLE, - STR_PROGRESS, - STR_OBJECTS_OPTIMIZED, STR_APPLY_TO_CURRENT, STR_AUTOMATICALLY_OPEN, STR_SAVE_SETTINGS, @@ -246,11 +243,7 @@ enum PPPOptimizerTokenEnum STR_CREATE_REPLACEMENT, STR_CURRENT_FILESIZE, STR_ESTIMATED_FILESIZE, - STR_MB, STR_MY_SETTINGS, - STR_DEFAULT_SESSION, - STR_MODIFY_WARNING, - STR_YES, STR_OK, STR_INFO_1, STR_INFO_2,