diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 20:34:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 20:36:39 +0000 |
commit | aecb68988b9e733f8cb37cc998560c824e96af73 (patch) | |
tree | 29f9e06ebed9c38aa70ad96bac10f0ddd14b4767 /sc | |
parent | 3d481254a07fe82d11953f9825a2f8fc6eeabc0b (diff) |
coverity#738803 Uninitialized scalar field
Change-Id: Id24edb82d99d576435a8f310bfaf8521a77f97b3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/autostyl.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx index 78dbf5cd3e02..5e031faec11e 100644 --- a/sc/source/ui/docshell/autostyl.cxx +++ b/sc/source/ui/docshell/autostyl.cxx @@ -79,8 +79,9 @@ struct FindNonZeroTimeout : public ::std::unary_function<ScAutoStyleData, bool> } -ScAutoStyleList::ScAutoStyleList(ScDocShell* pShell) : - pDocSh( pShell ) +ScAutoStyleList::ScAutoStyleList(ScDocShell* pShell) + : pDocSh(pShell) + , nTimerStart(0) { aTimer.SetTimeoutHdl( LINK( this, ScAutoStyleList, TimerHdl ) ); aInitTimer.SetTimeoutHdl( LINK( this, ScAutoStyleList, InitHdl ) ); |