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

Some cppcheck cleaning in sc

Change-Id: I4d5c955d1587e3ad4acfa1671c49d7bc68a6829a
üst c2e3d09b
...@@ -345,9 +345,8 @@ SCCOL ScDBInternalRange::findFieldColumn(const OUString& rStr, sal_uInt16* pErr) ...@@ -345,9 +345,8 @@ SCCOL ScDBInternalRange::findFieldColumn(const OUString& rStr, sal_uInt16* pErr)
SCCOL nDBCol2 = e.Col(); SCCOL nDBCol2 = e.Col();
SCCOL nField = nDBCol1; SCCOL nField = nDBCol1;
sal_Bool bFound = sal_True; sal_Bool bFound = sal_False;
bFound = false;
OUString aCellStr; OUString aCellStr;
ScAddress aLook( nDBCol1, nDBRow1, nDBTab1 ); ScAddress aLook( nDBCol1, nDBRow1, nDBTab1 );
while (!bFound && (aLook.Col() <= nDBCol2)) while (!bFound && (aLook.Col() <= nDBCol2))
......
...@@ -646,7 +646,6 @@ const sal_Unicode* DifParser::ScanIntVal( const sal_Unicode* pStart, sal_uInt32& ...@@ -646,7 +646,6 @@ const sal_Unicode* DifParser::ScanIntVal( const sal_Unicode* pStart, sal_uInt32&
sal_Bool DifParser::ScanFloatVal( const sal_Unicode* pStart ) sal_Bool DifParser::ScanFloatVal( const sal_Unicode* pStart )
{ {
double fNewVal = 0.0;
sal_Bool bNeg = false; sal_Bool bNeg = false;
double fFracPos = 1.0; double fFracPos = 1.0;
sal_Int32 nExp = 0; sal_Int32 nExp = 0;
...@@ -661,7 +660,7 @@ sal_Bool DifParser::ScanFloatVal( const sal_Unicode* pStart ) ...@@ -661,7 +660,7 @@ sal_Bool DifParser::ScanFloatVal( const sal_Unicode* pStart )
STATE eS = S_FIRST; STATE eS = S_FIRST;
fNewVal = 0.0; double fNewVal = 0.0;
while( eS != S_END ) while( eS != S_END )
{ {
......
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