Kaydet (Commit) b6fb8399 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improved loplugin:redundantcast, static_cast on arithmetic types: connectivity

Change-Id: I8156e528b675c5f27c5d6903f17cb62d228d1488
üst 0791c51c
...@@ -1603,7 +1603,7 @@ sal_uInt64 ORowSetValue::getULong() const ...@@ -1603,7 +1603,7 @@ sal_uInt64 ORowSetValue::getULong() const
case DataType::DECIMAL: case DataType::DECIMAL:
case DataType::NUMERIC: case DataType::NUMERIC:
case DataType::LONGVARCHAR: case DataType::LONGVARCHAR:
nRet = static_cast<sal_uInt64>(OUString(m_aValue.m_pString).toUInt64()); nRet = OUString(m_aValue.m_pString).toUInt64();
break; break;
case DataType::FLOAT: case DataType::FLOAT:
nRet = sal_uInt64(m_aValue.m_nFloat); nRet = sal_uInt64(m_aValue.m_nFloat);
......
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