Kaydet (Commit) 4f51d28a authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: The scope of the variable 'fOutNumber' can be reduced

Change-Id: Ifece039a99f9796d3d41fdf9fae128ad2c2f7c44
üst 27634568
......@@ -410,7 +410,6 @@ void ODatabaseExport::insertValueIntoColumn()
sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _nOldNumberFormat)
{
double fOutNumber = 0.0;
sal_Int16 nNumberFormat = 0;
try
......@@ -421,6 +420,7 @@ sal_Int16 ODatabaseExport::CheckString(const OUString& aCheckToken, sal_Int16 _n
ensureFormatter();
if ( m_pFormatter && !m_sNumToken.isEmpty() )
{
double fOutNumber = 0.0;
LanguageType eNumLang;
sal_uInt32 nFormatKey(0);
fOutNumber = SfxHTMLParser::GetTableDataOptionsValNum(nFormatKey,eNumLang,m_sTextToken,m_sNumToken,*m_pFormatter);
......
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