From 826e43eda6bda9610ea3e07e2a27b37c93f529f4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 5 Apr 2014 21:02:53 +0100 Subject: coverity#708569 Uninitialized scalar field Change-Id: Ibe5ff56f9b068dd438ecd92f99fdd2a91b604165 --- uui/source/loginerr.hxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'uui') diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx index 60bb266ece8c..a5b620e011d9 100644 --- a/uui/source/loginerr.hxx +++ b/uui/source/loginerr.hxx @@ -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; } -- cgit