diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx index 527aff257e93..267ff6da59d2 100644 --- a/sdext/source/minimizer/configurationaccess.cxx +++ b/sdext/source/minimizer/configurationaccess.cxx @@ -83,21 +83,21 @@ void OptimizerSettings::SaveSettingsToConfiguration( const Reference< XNameRepla if ( rSettings.is() ) { OUString pNames[] = { - "Name", - "JPEGCompression", - "JPEGQuality", - "RemoveCropArea", - "ImageResolution", - "EmbedLinkedGraphics", - "OLEOptimization", - "OLEOptimizationType", - "DeleteUnusedMasterPages", - "DeleteHiddenSlides", - "DeleteNotesPages", - "SaveAs", -// "SaveAsURL", -// "FilterName", - "OpenNewDocument" }; + OUString("Name"), + OUString("JPEGCompression"), + OUString("JPEGQuality"), + OUString("RemoveCropArea"), + OUString("ImageResolution"), + OUString("EmbedLinkedGraphics"), + OUString("OLEOptimization"), + OUString("OLEOptimizationType"), + OUString("DeleteUnusedMasterPages"), + OUString("DeleteHiddenSlides"), + OUString("DeleteNotesPages"), + OUString("SaveAs"), +// OUString("SaveAsURL"), +// OUString("FilterName"), + OUString("OpenNewDocument") }; Any pValues[] = { Any( maName ), diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx index dabf17bc4138..28ab1ce37f8b 100644 --- a/sdext/source/minimizer/informationdialog.cxx +++ b/sdext/source/minimizer/informationdialog.cxx @@ -62,14 +62,14 @@ OUString InsertFixedText( InformationDialog& rInformationDialog, const OUString& sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Bool bMultiLine, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Height", - "Label", - "MultiLine", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Height"), + OUString("Label"), + OUString("MultiLine"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( nHeight ), @@ -101,13 +101,13 @@ OUString InsertImage( sal_Bool bScale ) { OUString pNames[] = { - "Border", - "Height", - "ImageURL", - "PositionX", - "PositionY", - "ScaleImage", - "Width" }; + OUString("Border"), + OUString("Height"), + OUString("ImageURL"), + OUString("PositionX"), + OUString("PositionY"), + OUString("ScaleImage"), + OUString("Width") }; Any pValues[] = { Any( sal_Int16( 0 ) ), @@ -131,14 +131,14 @@ OUString InsertCheckBox( InformationDialog& rInformationDialog, const OUString& sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Enabled", - "Height", - "Label", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Enabled"), + OUString("Height"), + OUString("Label"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -165,15 +165,15 @@ OUString InsertButton( InformationDialog& rInformationDialog, const OUString& rC sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex, PPPOptimizerTokenEnum nResID ) { OUString pNames[] = { - "Enabled", - "Height", - "Label", - "PositionX", - "PositionY", - "PushButtonType", - "Step", - "TabIndex", - "Width" }; + OUString("Enabled"), + OUString("Height"), + OUString("Label"), + OUString("PositionX"), + OUString("PositionY"), + OUString("PushButtonType"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -217,13 +217,13 @@ void InformationDialog::InitDialog() // setting the dialog properties OUString pNames[] = { - "Closeable", - "Height", - "Moveable", - "PositionX", - "PositionY", - "Title", - "Width" }; + OUString("Closeable"), + OUString("Height"), + OUString("Moveable"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Title"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index 0a5bdf60b7ff..b104de7209e4 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -54,13 +54,13 @@ void OptimizerDialog::InitDialog() { // setting the dialog properties OUString pNames[] = { - "Closeable", - "Height", - "Moveable", - "PositionX", - "PositionY", - "Title", - "Width" }; + OUString("Closeable"), + OUString("Height"), + OUString("Moveable"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Title"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -86,12 +86,12 @@ void OptimizerDialog::InitRoadmap() try { OUString pNames[] = { - "Height", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Height"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_Int32( DIALOG_HEIGHT - 26 ) ), diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx index 45aff94fdd90..3e5d95e50c71 100644 --- a/sdext/source/minimizer/optimizerdialogcontrols.cxx +++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx @@ -64,12 +64,12 @@ OUString InsertSeparator( OptimizerDialog& rOptimizerDialog, const OUString& rCo sal_Int32 nPosX, sal_Int32 nPosY, sal_Int32 nWidth, sal_Int32 nHeight ) { OUString pNames[] = { - "Height", - "Orientation", - "PositionX", - "PositionY", - "Step", - "Width" }; + OUString("Height"), + OUString("Orientation"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("Width") }; Any pValues[] = { Any( nHeight ), @@ -95,15 +95,15 @@ OUString InsertButton( OptimizerDialog& rOptimizerDialog, const OUString& rContr sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex, sal_Bool bEnabled, PPPOptimizerTokenEnum nResID, sal_Int16 nPushButtonType ) { OUString pNames[] = { - "Enabled", - "Height", - "Label", - "PositionX", - "PositionY", - "PushButtonType", - "Step", - "TabIndex", - "Width" }; + OUString("Enabled"), + OUString("Height"), + OUString("Label"), + OUString("PositionX"), + OUString("PositionY"), + OUString("PushButtonType"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( bEnabled ), @@ -132,14 +132,14 @@ OUString InsertFixedText( OptimizerDialog& rOptimizerDialog, const OUString& rCo sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Bool bMultiLine, sal_Bool bBold, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Height", - "Label", - "MultiLine", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Height"), + OUString("Label"), + OUString("MultiLine"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( nHeight ), @@ -169,14 +169,14 @@ OUString InsertCheckBox( OptimizerDialog& rOptimizerDialog, const OUString& rCon sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Enabled", - "Height", - "Label", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Enabled"), + OUString("Height"), + OUString("Label"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -206,17 +206,17 @@ OUString InsertFormattedField( OptimizerDialog& rOptimizerDialog, const OUString double fEffectiveMin, double fEffectiveMax, sal_Int16 nTabIndex ) { OUString pNames[] = { - "EffectiveMax", - "EffectiveMin", - "Enabled", - "Height", - "PositionX", - "PositionY", - "Repeat", - "Spin", - "Step", - "TabIndex", - "Width" }; + OUString("EffectiveMax"), + OUString("EffectiveMin"), + OUString("Enabled"), + OUString("Height"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Repeat"), + OUString("Spin"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( fEffectiveMax ), @@ -254,16 +254,16 @@ OUString InsertComboBox( OptimizerDialog& rOptimizerDialog, const OUString& rCon sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Dropdown", - "Enabled", - "Height", - "LineCount", - "PositionX", - "PositionY", - "Step", - "StringItemList", - "TabIndex", - "Width" }; + OUString("Dropdown"), + OUString("Enabled"), + OUString("Height"), + OUString("LineCount"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("StringItemList"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -294,14 +294,14 @@ OUString InsertRadioButton( OptimizerDialog& rOptimizerDialog, const OUString& r const OUString& rLabel, sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Bool bMultiLine, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Height", - "Label", - "MultiLine", - "PositionX", - "PositionY", - "Step", - "TabIndex", - "Width" }; + OUString("Height"), + OUString("Label"), + OUString("MultiLine"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( nHeight ), @@ -331,17 +331,17 @@ OUString InsertListBox( OptimizerDialog& rOptimizerDialog, const OUString& rCont sal_Int32 nXPos, sal_Int32 nYPos, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nTabIndex ) { OUString pNames[] = { - "Dropdown", - "Enabled", - "Height", - "LineCount", - "MultiSelection", - "PositionX", - "PositionY", - "Step", - "StringItemList", - "TabIndex", - "Width" }; + OUString("Dropdown"), + OUString("Enabled"), + OUString("Height"), + OUString("LineCount"), + OUString("MultiSelection"), + OUString("PositionX"), + OUString("PositionY"), + OUString("Step"), + OUString("StringItemList"), + OUString("TabIndex"), + OUString("Width") }; Any pValues[] = { Any( sal_True ), @@ -837,14 +837,14 @@ void OptimizerDialog::InitPage4() { { // creating progress bar: OUString pNames[] = { - "Height", - "Name", - "PositionX", - "PositionY", - "ProgressValue", - "ProgressValueMax", - "ProgressValueMin", - "Width" }; + OUString("Height"), + OUString("Name"), + OUString("PositionX"), + OUString("PositionY"), + OUString("ProgressValue"), + OUString("ProgressValueMax"), + OUString("ProgressValueMin"), + OUString("Width") }; Any pValues[] = { Any( (sal_Int32)12 ),