coverity#738556 Unitialized scalar field

Change-Id: Iad7ca3d9928e34d0510c85242dc20a6dca6f09bb
Reviewed-on: https://gerrit.libreoffice.org/2209
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Norbert Thiebaud 2013-02-18 00:14:58 -06:00 committed by Caolán McNamara
parent 6d76752bb1
commit 51a83689fe

View file

@ -775,6 +775,14 @@ Document::Document(::VCLXWindow * pVclXWindow, ::TextEngine & rEngine,
m_rView(rView),
m_aEngineListener(*this),
m_aViewListener(LINK(this, Document, WindowEventHandler)),
m_nViewOffset(0),
m_nViewHeight(0),
m_nVisibleBeginOffset(0),
m_nSelectionFirstPara(-1),
m_nSelectionFirstPos(-1),
m_nSelectionLastPara(-1),
m_nSelectionLastPos(-1),
m_bSelectionChangedNotification(false),
m_bCompoundControlChild(bCompoundControlChild)
{}