summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-02-18 00:14:58 -0600
committerCaolán McNamara <caolanm@redhat.com>2013-02-18 15:18:58 +0000
commit51a83689fe2270dd861d0929d71bf73623d379c5 (patch)
tree639e29abe63220ec29d9c24f8d37ce7908041449 /accessibility
parent6d76752bb1369b56978094f4e73c76a8a9a020c0 (diff)
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>
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx8
1 files changed, 8 insertions, 0 deletions
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)
{}