From eb7e473e795e86bb155290f9db4182365c81186a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Feb 2014 10:25:45 +0000 Subject: coverity#738812 Uninitialized scalar field Change-Id: Ia3c46e5c2f443cd7fb196f651e2ae0b22816c769 --- sd/inc/customshowlist.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sd/inc') 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::begin; using std::vector::iterator; + SdCustomShowList() + : mnCurPos(0) + { + } + sal_uInt16 GetCurPos() const { return mnCurPos; } void Seek(sal_uInt16 nNewPos) { mnCurPos = nNewPos; } -- cgit