diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx index 567fe58906c0..1a19fc1ad7fb 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx @@ -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 { |