coverity#708569 Uninitialized scalar field

Change-Id: Ibe5ff56f9b068dd438ecd92f99fdd2a91b604165
This commit is contained in:
Caolán McNamara
2014-04-05 21:02:53 +01:00
parent 0825c92c0b
commit 826e43eda6

View File

@@ -48,11 +48,12 @@ private:
bool m_bRecommendToOpenReadonly;
public:
LoginErrorInfo()
: m_nFlags( LOGINERROR_FLAG_MODIFY_USER_NAME ),
m_nRet( ERRCODE_BUTTON_CANCEL )
{
}
LoginErrorInfo()
: m_nFlags(LOGINERROR_FLAG_MODIFY_USER_NAME)
, m_nRet(ERRCODE_BUTTON_CANCEL)
, m_bRecommendToOpenReadonly(false)
{
}
const OUString& GetTitle() const { return m_aTitle; }
const OUString& GetServer() const { return m_aServer; }