summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 10:25:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 12:40:24 +0000
commiteb7e473e795e86bb155290f9db4182365c81186a (patch)
treec145814b11721519e1027c1609d18355fbe632fc /sd
parent7be107378b4eaa4aaeaf5199229d175c952d8655 (diff)
coverity#738812 Uninitialized scalar field
Change-Id: Ia3c46e5c2f443cd7fb196f651e2ae0b22816c769
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/customshowlist.hxx5
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; }