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