summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-20 21:59:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-22 08:43:48 +0100
commit9f3ebfe97f0e8708913c1384c4427d565f517c5c (patch)
treec74e92bc5e36ee2b7a66f6c29b7a8d6b3b8ca268 /sc
parent9309e82bc6e4c530e83cd87cf950442dc8ac11e2 (diff)
coverity#708090 Uninitialized scalar field
Change-Id: I9278e66067afadac09b11b0e4419cd804b88969f
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/fuconuno.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx
index 21e89c67f22b..d9bb3a57fb8f 100644
--- a/sc/source/ui/drawfunc/fuconuno.cxx
+++ b/sc/source/ui/drawfunc/fuconuno.cxx
@@ -32,6 +32,8 @@
FuConstUnoControl::FuConstUnoControl(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pViewP,
SdrModel* pDoc, SfxRequest& rReq)
: FuConstruct(pViewSh, pWin, pViewP, pDoc, rReq)
+ , nInventor(0)
+ , nIdentifier(0)
{
SFX_REQUEST_ARG( rReq, pInventorItem, SfxUInt32Item, SID_FM_CONTROL_INVENTOR, false );
SFX_REQUEST_ARG( rReq, pIdentifierItem, SfxUInt16Item, SID_FM_CONTROL_IDENTIFIER, false );