From 51a83689fe2270dd861d0929d71bf73623d379c5 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Mon, 18 Feb 2013 00:14:58 -0600 Subject: [PATCH] coverity#738556 Unitialized scalar field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iad7ca3d9928e34d0510c85242dc20a6dca6f09bb Reviewed-on: https://gerrit.libreoffice.org/2209 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- accessibility/source/extended/textwindowaccessibility.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index f27fc8f00124..b3124037b795 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -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) {}