[Libreoffice-commits] .: sw/source
Joseph Powers
jpowers at kemper.freedesktop.org
Mon Nov 29 19:52:49 PST 2010
sw/source/filter/html/parcss1.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit b7f27c7847827069d1a0280b35ddcac2e335c2c6
Author: Joseph Powers <jpowers27 at cox.net>
Date: Mon Nov 29 19:52:43 2010 -0800
cppcheck: variable scope reducion
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index b8fba65..e56ef59 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -424,7 +424,7 @@ CSS1Token CSS1Parser::GetNextToken()
// Ist es eine Einheit?
const sal_Char *pCmp1 = 0, *pCmp2 = 0, *pCmp3 = 0;
- double nScale1 = 1., nScale2 = 1., nScale3 = 1.;
+ double nScale1 = 1., nScale2 = 1.;
CSS1Token nToken1 = CSS1_LENGTH,
nToken2 = CSS1_LENGTH,
nToken3 = CSS1_LENGTH;
@@ -482,7 +482,7 @@ CSS1Token CSS1Parser::GetNextToken()
else if( pCmp3 &&
aIdent.EqualsIgnoreCaseAscii(pCmp3) )
{
- nScale = nScale3;
+ nScale = 1.; // nScale3
nRet = nToken3;
}
else
More information about the Libreoffice-commits
mailing list