summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-14 15:52:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-14 15:58:26 +0000
commit2de369e3717c2bf6d536649c9d8bd64726b6baf0 (patch)
tree0d588893cbd8a6d72bd947133978e5e4d1926f16 /svl
parent011e153bc4f3d086108e10a5b95ea6614d665d95 (diff)
coverity#708255 Uninitialized pointer field
Change-Id: Ic7fad54a0e39d007668e3fd3e2a857f9f9956d7d
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/style.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index b83e7733cb8d..11a365fb3f5f 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -399,6 +399,8 @@ struct DoesStyleMatchStyleSheetPredicate SAL_FINAL : public svl::StyleSheetPredi
SfxStyleSheetIterator::SfxStyleSheetIterator(SfxStyleSheetBasePool *pBase,
SfxStyleFamily eFam, sal_uInt16 n)
+ : pAktStyle(NULL)
+ , nAktPosition(0)
{
pBasePool=pBase;
nSearchFamily=eFam;