diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-04-07 21:12:27 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-04-07 21:16:01 +0200 |
commit | c893a820c447c9014d35597a37c3220c261e35ae (patch) | |
tree | e779b47b7c5c690aa3343116cd7ef0655928f4a9 | |
parent | e414736c8b3e55b4ddc2bf308435ef6f726fb517 (diff) |
Fix Redundant assignment of "nModToken" in switch
-rw-r--r-- | oox/source/vml/vmlformatting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx index f7ebde4f193b..4bc582d777be 100644 --- a/oox/source/vml/vmlformatting.cxx +++ b/oox/source/vml/vmlformatting.cxx @@ -248,7 +248,7 @@ bool lclExtractDouble( double& orfValue, sal_Int32& ornEndPos, const OUString& r sal_Int32 nModToken = XML_TOKEN_INVALID; 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; } sal_Int32 nValue = aColorIndex.copy( nOpenParen + 1, nCloseParen - nOpenParen - 1 ).toInt32(); |