[Libreoffice-commits] core.git: sdext/source

Stephan Bergmann sbergman at redhat.com
Thu Nov 5 12:30:54 PST 2015


 sdext/source/minimizer/pppoptimizertoken.cxx |  119 ---------------------------
 sdext/source/minimizer/pppoptimizertoken.hxx |  119 ---------------------------
 2 files changed, 238 deletions(-)

New commits:
commit 8299b8b81cc547ab698106499916a8dcb8fe57aa
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Nov 5 21:29:58 2015 +0100

    Remove unused PPPOptimizerTokenEnum enumerators
    
    Change-Id: Ia94becb796f71aa602c65375539f8cdafb270bca

diff --git a/sdext/source/minimizer/pppoptimizertoken.cxx b/sdext/source/minimizer/pppoptimizertoken.cxx
index cc616e9..91c2871 100644
--- a/sdext/source/minimizer/pppoptimizertoken.cxx
+++ b/sdext/source/minimizer/pppoptimizertoken.cxx
@@ -41,154 +41,40 @@ struct TokenTable
 static const TokenTable pTokenTableArray[] =
 {
     { "rdmNavi",            TK_rdmNavi },
-    { "lnNavSep1",          TK_lnNavSep1 },
-    { "lnNavSep2",          TK_lnNavSep2 },
     { "btnNavBack",         TK_btnNavBack },
     { "btnNavNext",         TK_btnNavNext },
     { "btnNavFinish",       TK_btnNavFinish },
     { "btnNavCancel",       TK_btnNavCancel },
 
-    { "FixedText0Pg0",      TK_FixedText0Pg0 },
-    { "FixedText1Pg0",      TK_FixedText1Pg0 },
-    { "Separator1Pg0",      TK_Separator1Pg0 },
-    { "FixedText2Pg0",      TK_FixedText2Pg0 },
-    { "ListBox0Pg0",        TK_ListBox0Pg0 },
     { "Button0Pg0",         TK_Button0Pg0 },
     { "RadioButton0Pg1",    TK_RadioButton0Pg1 },
     { "RadioButton1Pg1",    TK_RadioButton1Pg1 },
-    { "FixedText0Pg1",      TK_FixedText0Pg1 },
     { "CheckBox1Pg1",       TK_CheckBox1Pg1 },
-    { "FixedText1Pg1",      TK_FixedText1Pg1 },
-    { "FixedText2Pg1",      TK_FixedText2Pg1 },
-    { "FormattedField0Pg1", TK_FormattedField0Pg1 },
-    { "ComboBox0Pg1",       TK_ComboBox0Pg1 },
     { "CheckBox2Pg1",       TK_CheckBox2Pg1 },
-    { "FixedText0Pg2",      TK_FixedText0Pg2 },
-    { "FixedText1Pg2",      TK_FixedText1Pg2 },
     { "CheckBox0Pg2",       TK_CheckBox0Pg2 },
     { "RadioButton0Pg2",    TK_RadioButton0Pg2 },
     { "RadioButton1Pg2",    TK_RadioButton1Pg2 },
-    { "FixedText0Pg3",      TK_FixedText0Pg3 },
     { "CheckBox0Pg3",       TK_CheckBox0Pg3 },
-    { "FixedText1Pg3",      TK_FixedText1Pg3 },
     { "CheckBox1Pg3",       TK_CheckBox1Pg3 },
-    { "FixedText2Pg3",      TK_FixedText2Pg3 },
     { "CheckBox2Pg3",       TK_CheckBox2Pg3 },
     { "CheckBox3Pg3",       TK_CheckBox3Pg3 },
-    { "ListBox0Pg3",        TK_ListBox0Pg3 },
-    { "Separator0Pg4",      TK_Separator0Pg4 },
     { "RadioButton0Pg4",    TK_RadioButton0Pg4 },
     { "RadioButton1Pg4",    TK_RadioButton1Pg4 },
-    { "Separator1Pg4",      TK_Separator1Pg4 },
-    { "FixedText0Pg4",      TK_FixedText0Pg4 },
-    { "FixedText1Pg4",      TK_FixedText1Pg4 },
-    { "FixedText2Pg4",      TK_FixedText2Pg4 },
-    { "FixedText3Pg4",      TK_FixedText3Pg4 },
-    { "FixedText4Pg4",      TK_FixedText4Pg4 },
-    { "FixedText5Pg4",      TK_FixedText5Pg4 },
-    { "FixedText6Pg4",      TK_FixedText6Pg4 },
-    { "FixedText7Pg4",      TK_FixedText7Pg4 },
-    { "FixedText8Pg4",      TK_FixedText8Pg4 },
     { "CheckBox1Pg4",       TK_CheckBox1Pg4 },
-    { "ComboBox0Pg4",       TK_ComboBox0Pg4 },
 
-    { "_blank",             TK__blank },
-    { "_self",              TK__self },
-    { "Activated",          TK_Activated },
-    { "Align",              TK_Align },
-    { "Alpha",              TK_Alpha },
-    { "Animated",           TK_Animated },
-    { "Background",         TK_Background },
-    { "BitmapPath",         TK_BitmapPath },
-    { "Border",             TK_Border },
-    { "Closeable",          TK_Closeable },
-    { "ColorMode",          TK_ColorMode },
-    { "Complete",           TK_Complete },
-    { "Compression",        TK_Compression },
-    { "CurrentItemID",      TK_CurrentItemID },
-    { "DefaultButton",      TK_DefaultButton },
     { "DocumentService",    TK_DocumentService },
-    { "Dropdown",           TK_Dropdown },
-    { "EffectiveValue",     TK_EffectiveValue },
-    { "EffectiveMin",       TK_EffectiveMin },
-    { "EffectiveMax",       TK_EffectiveMax },
-    { "Enabled",            TK_Enabled },
-    { "Extensions",         TK_Extensions },
     { "FileSizeDestination",TK_FileSizeDestination },
     { "FileSizeSource",     TK_FileSizeSource },
-    { "FillBitmap",         TK_FillBitmap },
-    { "FillBitmapLogicalSize",TK_FillBitmapLogicalSize },
-    { "FillBitmapMode",     TK_FillBitmapMode },
-    { "FillBitmapSizeX",    TK_FillBitmapSizeX },
-    { "FillBitmapSizeY",    TK_FillBitmapSizeY },
-    { "FillBitmapURL",      TK_FillBitmapURL },
-    { "FillStyle",          TK_FillStyle },
-    { "FilterData",         TK_FilterData },
     { "FilterName",         TK_FilterName },
     { "Flags",              TK_Flags },
-    { "FontDescriptor",     TK_FontDescriptor },
-    { "Graphic",            TK_Graphic },
-    { "GraphicCrop",        TK_GraphicCrop },
-    { "GraphicCropLogic",   TK_GraphicCropLogic },
-    { "GraphicURL",         TK_GraphicURL },
-    { "GraphicStreamURL",   TK_GraphicStreamURL },
-    { "Height",             TK_Height },
-    { "Hidden",             TK_Hidden },
-    { "ID",                 TK_ID },
-    { "ImageURL",           TK_ImageURL },
     { "InformationDialog",  TK_InformationDialog },
-    { "InputStream",        TK_InputStream },
-    { "Interlaced",         TK_Interlaced },
-    { "IsInternal",         TK_IsInternal },
-    { "Label",              TK_Label },
-    { "LineCount",          TK_LineCount },
-    { "LogicalHeight",      TK_LogicalHeight },
-    { "LogicalWidth",       TK_LogicalWidth },
-    { "LogicalSize",        TK_LogicalSize },
-    { "MimeType",           TK_MimeType },
-    { "Moveable",           TK_Moveable },
-    { "MultiLine",          TK_MultiLine },
-    { "MultiSelection",     TK_MultiSelection },
     { "Name",               TK_Name },
-    { "Orientation",        TK_Orientation },
-    { "OutputStream",       TK_OutputStream },
-    { "PixelHeight",        TK_PixelHeight },
-    { "PixelWidth",         TK_PixelWidth },
-    { "PositionX",          TK_PositionX },
-    { "PositionY",          TK_PositionY },
     { "Progress",           TK_Progress },
-    { "ProgressValue",      TK_ProgressValue },
-    { "ProgressValueMax",   TK_ProgressValueMax },
-    { "ProgressValueMin",   TK_ProgressValueMin },
-    { "PushButtonType",     TK_PushButtonType },
-    { "Quality",            TK_Quality },
-    { "ReadOnly",           TK_ReadOnly },
-    { "Repeat",             TK_Repeat },
-    { "ScaleImage",         TK_ScaleImage },
-    { "SelectedItems",      TK_SelectedItems },
     { "Settings",           TK_Settings },
-    { "Size100thMM",        TK_Size100thMM },
-    { "SizePixel",          TK_SizePixel },
-    { "Spin",               TK_Spin },
-    { "Step",               TK_Step },
-    { "State",              TK_State },
     { "StatusDispatcher",   TK_StatusDispatcher },
-    { "StringItemList",     TK_StringItemList },
-    { "Strings",            TK_Strings },
-    { "TabIndex",           TK_TabIndex },
-    { "Template",           TK_Template },
-    { "Text",               TK_Text },
-    { "Title",              TK_Title },
-    { "Transparent",        TK_Transparent },
     { "Type",               TK_Type },
     { "UIName",             TK_UIName },
-    { "Value",              TK_Value },
-    { "Width",              TK_Width },
-    { "ZOrder",             TK_ZOrder },
 
-    { "LastUsedSettings",   TK_LastUsedSettings },
-    { "Settings/Templates", TK_Settings_Templates },
-    { "Settings/Templates/",TK_Settings_Templates_ },
     { "JPEGCompression",    TK_JPEGCompression },
     { "JPEGQuality",        TK_JPEGQuality },
     { "RemoveCropArea",     TK_RemoveCropArea },
@@ -207,11 +93,6 @@ static const TokenTable pTokenTableArray[] =
 
     { "Status",             TK_Status },
     { "Pages",              TK_Pages },
-    { "CurrentPage",        TK_CurrentPage },
-    { "GraphicObjects",     TK_GraphicObjects },
-    { "CurrentGraphicObject",TK_CurrentGraphicObject },
-    { "OLEObjects",         TK_OLEObjects },
-    { "CurrentOLEObject",   TK_CurrentOLEObject },
 
     { "STR_SUN_OPTIMIZATION_WIZARD2",STR_SUN_OPTIMIZATION_WIZARD2 },
     { "STR_STEPS",                  STR_STEPS },
diff --git a/sdext/source/minimizer/pppoptimizertoken.hxx b/sdext/source/minimizer/pppoptimizertoken.hxx
index e7d5ce0..e458da0 100644
--- a/sdext/source/minimizer/pppoptimizertoken.hxx
+++ b/sdext/source/minimizer/pppoptimizertoken.hxx
@@ -25,154 +25,40 @@
 enum PPPOptimizerTokenEnum
 {
     TK_rdmNavi,
-    TK_lnNavSep1,
-    TK_lnNavSep2,
     TK_btnNavBack,
     TK_btnNavNext,
     TK_btnNavFinish,
     TK_btnNavCancel,
 
-    TK_FixedText0Pg0,
-    TK_FixedText1Pg0,
-    TK_Separator1Pg0,
-    TK_FixedText2Pg0,
-    TK_ListBox0Pg0,
     TK_Button0Pg0,
     TK_RadioButton0Pg1,
     TK_RadioButton1Pg1,
-    TK_FixedText0Pg1,
     TK_CheckBox1Pg1,
-    TK_FixedText1Pg1,
-    TK_FixedText2Pg1,
-    TK_FormattedField0Pg1,
-    TK_ComboBox0Pg1,
     TK_CheckBox2Pg1,
-    TK_FixedText0Pg2,
-    TK_FixedText1Pg2,
     TK_CheckBox0Pg2,
     TK_RadioButton0Pg2,
     TK_RadioButton1Pg2,
-    TK_FixedText0Pg3,
     TK_CheckBox0Pg3,
-    TK_FixedText1Pg3,
     TK_CheckBox1Pg3,
-    TK_FixedText2Pg3,
     TK_CheckBox2Pg3,
     TK_CheckBox3Pg3,
-    TK_ListBox0Pg3,
-    TK_Separator0Pg4,
     TK_RadioButton0Pg4,
     TK_RadioButton1Pg4,
-    TK_Separator1Pg4,
-    TK_FixedText0Pg4,
-    TK_FixedText1Pg4,
-    TK_FixedText2Pg4,
-    TK_FixedText3Pg4,
-    TK_FixedText4Pg4,
-    TK_FixedText5Pg4,
-    TK_FixedText6Pg4,
-    TK_FixedText7Pg4,
-    TK_FixedText8Pg4,
     TK_CheckBox1Pg4,
-    TK_ComboBox0Pg4,
 
-    TK__blank,
-    TK__self,
-    TK_Activated,
-    TK_Align,
-    TK_Alpha,
-    TK_Animated,
-    TK_Background,
-    TK_BitmapPath,
-    TK_Border,
-    TK_Closeable,
-    TK_ColorMode,
-    TK_Complete,
-    TK_Compression,
-    TK_CurrentItemID,
-    TK_DefaultButton,
     TK_DocumentService,
-    TK_Dropdown,
-    TK_EffectiveValue,
-    TK_EffectiveMin,
-    TK_EffectiveMax,
-    TK_Enabled,
-    TK_Extensions,
     TK_FileSizeDestination,
     TK_FileSizeSource,
-    TK_FillBitmap,
-    TK_FillBitmapLogicalSize,
-    TK_FillBitmapMode,
-    TK_FillBitmapSizeX,
-    TK_FillBitmapSizeY,
-    TK_FillBitmapURL,
-    TK_FillStyle,
-    TK_FilterData,
     TK_FilterName,
     TK_Flags,
-    TK_FontDescriptor,
-    TK_Graphic,
-    TK_GraphicCrop,
-    TK_GraphicCropLogic,
-    TK_GraphicURL,
-    TK_GraphicStreamURL,
-    TK_Height,
-    TK_Hidden,
-    TK_ID,
-    TK_ImageURL,
     TK_InformationDialog,
-    TK_InputStream,
-    TK_Interlaced,
-    TK_IsInternal,
-    TK_Label,
-    TK_LineCount,
-    TK_LogicalHeight,
-    TK_LogicalWidth,
-    TK_LogicalSize,
-    TK_MimeType,
-    TK_Moveable,
-    TK_MultiLine,
-    TK_MultiSelection,
     TK_Name,
-    TK_Orientation,
-    TK_OutputStream,
-    TK_PixelHeight,
-    TK_PixelWidth,
-    TK_PositionX,
-    TK_PositionY,
     TK_Progress,
-    TK_ProgressValue,
-    TK_ProgressValueMax,
-    TK_ProgressValueMin,
-    TK_PushButtonType,
-    TK_Quality,
-    TK_ReadOnly,
-    TK_Repeat,
-    TK_ScaleImage,
-    TK_SelectedItems,
     TK_Settings,
-    TK_Size100thMM,
-    TK_SizePixel,
-    TK_Spin,
-    TK_Step,
-    TK_State,
     TK_StatusDispatcher,
-    TK_StringItemList,
-    TK_Strings,
-    TK_TabIndex,
-    TK_Template,
-    TK_Text,
-    TK_Title,
-    TK_Transparent,
     TK_Type,
     TK_UIName,
-    TK_Value,
-    TK_Width,
-    TK_ZOrder,
 
-    TK_LastUsedSettings,
-    TK_Settings_Templates,
-    TK_Settings_Templates_,
     TK_JPEGCompression,
     TK_JPEGQuality,
     TK_RemoveCropArea,
@@ -191,11 +77,6 @@ enum PPPOptimizerTokenEnum
 
     TK_Status,
     TK_Pages,
-    TK_CurrentPage,
-    TK_GraphicObjects,
-    TK_CurrentGraphicObject,
-    TK_OLEObjects,
-    TK_CurrentOLEObject,
 
     STR_SUN_OPTIMIZATION_WIZARD2,
     STR_STEPS,


More information about the Libreoffice-commits mailing list