diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 10:25:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-21 12:40:24 +0000 |
commit | eb7e473e795e86bb155290f9db4182365c81186a (patch) | |
tree | c145814b11721519e1027c1609d18355fbe632fc /sd/inc | |
parent | 7be107378b4eaa4aaeaf5199229d175c952d8655 (diff) |
coverity#738812 Uninitialized scalar field
Change-Id: Ia3c46e5c2f443cd7fb196f651e2ae0b22816c769
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/customshowlist.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/inc/customshowlist.hxx b/sd/inc/customshowlist.hxx index e84d633581ae..aa20a69f3fff 100644 --- a/sd/inc/customshowlist.hxx +++ b/sd/inc/customshowlist.hxx @@ -37,6 +37,11 @@ public: using std::vector<SdCustomShow*>::begin; using std::vector<SdCustomShow*>::iterator; + SdCustomShowList() + : mnCurPos(0) + { + } + sal_uInt16 GetCurPos() const { return mnCurPos; } void Seek(sal_uInt16 nNewPos) { mnCurPos = nNewPos; } |