[Libreoffice-commits] .: Branch 'libreoffice-3-5' - oox/source
Lubos Lunak
llunak at kemper.freedesktop.org
Sun Apr 8 10:36:07 PDT 2012
oox/source/vml/vmlformatting.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0e074c5b099fdaadeed9d9803c3e33437245357b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Apr 7 21:12:27 2012 +0200
Fix Redundant assignment of "nModToken" in switch
Signed-off-by: LuboÅ¡ LuÅák <l.lunak at suse.cz>
diff --git a/oox/source/vml/vmlformatting.cxx b/oox/source/vml/vmlformatting.cxx
index 9faeb04..465a96e 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();
More information about the Libreoffice-commits
mailing list