Kaydet (Commit) 5c946483 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708696 Uninitialized scalar field

Change-Id: If22c709ebab80d626d3d409fd6ba718781cff07d
üst 3a3bdb2f
......@@ -66,12 +66,14 @@ using namespace com::sun::star::lang;
struct HitItem
{
OUString m_aURL;
float m_fScore;
float m_fScore;
HitItem( void ) {}
HitItem( const OUString& aURL, float fScore )
: m_aURL( aURL )
, m_fScore( fScore )
HitItem()
: m_fScore(0.0)
{}
HitItem(const OUString& aURL, float fScore)
: m_aURL(aURL)
, m_fScore(fScore)
{}
bool operator < ( const HitItem& rHitItem ) const
{
......
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