summaryrefslogtreecommitdiff
path: root/include/unotools/itemholderbase.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-08 11:34:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-08 12:18:54 +0100
commita5bcc75b9cfc4aa195782ca863c0ce3260bc89df (patch)
tree8790c2ff6e8f93506a44dddc75442e1a6ebb8c96 /include/unotools/itemholderbase.hxx
parentc5eddc903a7871e9a8eb1c5783266f200c026fe3 (diff)
coverity#708210 Uninitialized scalar field
Change-Id: I9bf4182d4c6e7a61b057f3541cc4c2a4b0316edd
Diffstat (limited to 'include/unotools/itemholderbase.hxx')
-rw-r--r--include/unotools/itemholderbase.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unotools/itemholderbase.hxx b/include/unotools/itemholderbase.hxx
index 01dee8153ad3..fe98e3d4dc64 100644
--- a/include/unotools/itemholderbase.hxx
+++ b/include/unotools/itemholderbase.hxx
@@ -90,7 +90,9 @@ struct TItemInfo
{
TItemInfo()
: pItem(0)
- {}
+ , eItem(E_USEROPTIONS)
+ {
+ }
utl::detail::Options * pItem;
EItem eItem;