diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 21:17:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 09:18:38 +0100 |
commit | e1fcf731fdb8457c9c8b686d182e4b2dbb7ff1bb (patch) | |
tree | 4cb135ed102e9dcb844a3c3bac6e5897c9499927 /include | |
parent | 5691af7977831d8c5fcdcb68e7a1e3547de45e51 (diff) |
coverity#708193 Uninitialized scalar field
Change-Id: Ibf9f267acf3bef7aa0ce34660664f095453f4b82
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 4ea02f9e5169..b5157e9fd6be 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -452,7 +452,11 @@ namespace svt bool bDown; public: - BrowserMouseEventPtr():pEvent(NULL){} + BrowserMouseEventPtr() + : pEvent(NULL) + , bDown(false) + { + } ~BrowserMouseEventPtr(){Clear();} bool Is() const {return pEvent != NULL;} |