Kaydet (Commit) c893a820 authored tarafından Julien Nabet's avatar Julien Nabet

Fix Redundant assignment of "nModToken" in switch

üst e414736c
...@@ -248,7 +248,7 @@ bool lclExtractDouble( double& orfValue, sal_Int32& ornEndPos, const OUString& r ...@@ -248,7 +248,7 @@ bool lclExtractDouble( double& orfValue, sal_Int32& ornEndPos, const OUString& r
sal_Int32 nModToken = XML_TOKEN_INVALID; sal_Int32 nModToken = XML_TOKEN_INVALID;
switch( AttributeConversion::decodeToken( aColorIndex.copy( 0, nOpenParen ) ) ) switch( AttributeConversion::decodeToken( aColorIndex.copy( 0, nOpenParen ) ) )
{ {
case XML_darken: nModToken = XML_shade; case XML_darken: nModToken = XML_shade;break;
case XML_lighten: nModToken = XML_tint; case XML_lighten: nModToken = XML_tint;
} }
sal_Int32 nValue = aColorIndex.copy( nOpenParen + 1, nCloseParen - nOpenParen - 1 ).toInt32(); sal_Int32 nValue = aColorIndex.copy( nOpenParen + 1, nCloseParen - nOpenParen - 1 ).toInt32();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment