Drop incorrect "artistic" prefix from some token names

Apparently copy/paste mistakes in the
642a252cf1 and
21d4cfe19e commits from 2014; most of
the picture effect type tokens added in that commit do have names that
start with "artistic" but not all.

Does not break any unit test. (Does not fix the bug I am investigating
either, though.)

Change-Id: I2c3bb7243e1feaa3fa949b58d3acf34825d6987b
This commit is contained in:
Tor Lillqvist
2017-01-24 15:52:28 +02:00
parent c0ee5231c9
commit dda1c7b6fa
3 changed files with 22 additions and 22 deletions

View File

@@ -843,10 +843,10 @@ OUString ArtisticEffectProperties::getEffectString( sal_Int32 nToken )
case OOX_TOKEN( a14, artisticPlasticWrap ): return OUString( "artisticPlasticWrap" ); case OOX_TOKEN( a14, artisticPlasticWrap ): return OUString( "artisticPlasticWrap" );
case OOX_TOKEN( a14, artisticTexturizer ): return OUString( "artisticTexturizer" ); case OOX_TOKEN( a14, artisticTexturizer ): return OUString( "artisticTexturizer" );
case OOX_TOKEN( a14, artisticWatercolorSponge ): return OUString( "artisticWatercolorSponge" ); case OOX_TOKEN( a14, artisticWatercolorSponge ): return OUString( "artisticWatercolorSponge" );
case OOX_TOKEN( a14, artisticBrightnessContrast ): return OUString( "artisticBrightnessContrast" ); case OOX_TOKEN( a14, brightnessContrast ): return OUString( "brightnessContrast" );
case OOX_TOKEN( a14, artisticColorTemperature ): return OUString( "artisticColorTemperature" ); case OOX_TOKEN( a14, colorTemperature ): return OUString( "colorTemperature" );
case OOX_TOKEN( a14, artisticSaturation ): return OUString( "artisticSaturation" ); case OOX_TOKEN( a14, saturation ): return OUString( "saturation" );
case OOX_TOKEN( a14, artisticSharpenSoften ): return OUString( "artisticSharpenSoften" ); case OOX_TOKEN( a14, sharpenSoften ): return OUString( "sharpenSoften" );
// attributes // attributes
case XML_visible: return OUString( "visible" ); case XML_visible: return OUString( "visible" );
@@ -869,7 +869,7 @@ OUString ArtisticEffectProperties::getEffectString( sal_Int32 nToken )
case XML_sat: return OUString( "sat" ); case XML_sat: return OUString( "sat" );
case XML_amount: return OUString( "amount" ); case XML_amount: return OUString( "amount" );
} }
SAL_WARN( "oox.drawingml", "ArtisticEffectProperties::getEffectString - unexpected token" ); SAL_WARN( "oox.drawingml", "ArtisticEffectProperties::getEffectString: unexpected token " << nToken );
return OUString(); return OUString();
} }
@@ -920,14 +920,14 @@ sal_Int32 ArtisticEffectProperties::getEffectToken( const OUString& sName )
return XML_artisticTexturizer; return XML_artisticTexturizer;
else if( sName == "artisticWatercolorSponge" ) else if( sName == "artisticWatercolorSponge" )
return XML_artisticWatercolorSponge; return XML_artisticWatercolorSponge;
else if( sName == "artisticBrightnessContrast" ) else if( sName == "brightnessContrast" )
return XML_artisticBrightnessContrast; return XML_brightnessContrast;
else if( sName == "artisticColorTemperature" ) else if( sName == "colorTemperature" )
return XML_artisticColorTemperature; return XML_colorTemperature;
else if( sName == "artisticSaturation" ) else if( sName == "saturation" )
return XML_artisticSaturation; return XML_saturation;
else if( sName == "artisticSharpenSoften" ) else if( sName == "sharpenSoften" )
return XML_artisticSharpenSoften; return XML_sharpenSoften;
// attributes // attributes
else if( sName == "visible" ) else if( sName == "visible" )

View File

@@ -647,12 +647,9 @@ array
arrow arrow
arrowok arrowok
artDeco artDeco
artisticBackgroundRemoval
artisticBlur artisticBlur
artisticBrightnessContrast
artisticCement artisticCement
artisticChalkSketch artisticChalkSketch
artisticColorTemperature
artisticCrisscrossEtching artisticCrisscrossEtching
artisticCutout artisticCutout
artisticFilmGrain artisticFilmGrain
@@ -670,8 +667,6 @@ artisticPencilGrayscale
artisticPencilSketch artisticPencilSketch
artisticPhotocopy artisticPhotocopy
artisticPlasticWrap artisticPlasticWrap
artisticSaturation
artisticSharpenSoften
artisticTexturizer artisticTexturizer
artisticWatercolorSponge artisticWatercolorSponge
asDisplayed asDisplayed
@@ -776,6 +771,7 @@ background1
background2 background2
backgroundQuery backgroundQuery
backgroundRefresh backgroundRefresh
backgroundRemoval
backupFile backupFile
backward backward
backwardCompatible backwardCompatible
@@ -975,6 +971,7 @@ breadthByNode
bright bright
brightRoom brightRoom
brightness brightness
brightnessContrast
brk brk
brkBin brkBin
brkBinSub brkBinSub
@@ -1294,6 +1291,7 @@ colorFilter
colorId colorId
colorScale colorScale
colorTemp colorTemp
colorTemperature
colormenu colormenu
colormode colormode
colormru colormru
@@ -4440,6 +4438,7 @@ sans-serif
sat sat
satMod satMod
satOff satOff
saturation
saveData saveData
saveExternalLinkValues saveExternalLinkValues
saveFormsData saveFormsData
@@ -4566,6 +4565,7 @@ shapetype
shared shared
sharedItems sharedItems
sharksTeeth sharksTeeth
sharpenSoften
shd shd
shdw1 shdw1
shdw10 shdw10

View File

@@ -5641,16 +5641,16 @@
<element name="artisticWatercolorSponge"> <element name="artisticWatercolorSponge">
<ref name="CT_PictureEffectWatercolorSponge"/> <ref name="CT_PictureEffectWatercolorSponge"/>
</element> </element>
<element name="artisticBrightnessContrast"> <element name="brightnessContrast">
<ref name="CT_PictureEffectBrightnessContrast"/> <ref name="CT_PictureEffectBrightnessContrast"/>
</element> </element>
<element name="artisticColorTemperature"> <element name="colorTemperature">
<ref name="CT_PictureEffectColorTemperature"/> <ref name="CT_PictureEffectColorTemperature"/>
</element> </element>
<element name="artisticSaturation"> <element name="saturation">
<ref name="CT_PictureEffectSaturation"/> <ref name="CT_PictureEffectSaturation"/>
</element> </element>
<element name="artisticSharpenSoften"> <element name="sharpenSoften">
<ref name="CT_PictureEffectSharpenSoften"/> <ref name="CT_PictureEffectSharpenSoften"/>
</element> </element>
</choice> </choice>