summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-24 10:43:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-24 12:12:32 +0000
commit6f97d7615c377348642be7abb9ea6668a4b0a473 (patch)
treeb3eb0e51af68932fbd79a18f92481da33f2e3c41 /sc
parent3e11392257b71342ad21d01ed1bdf6d29656d822 (diff)
coverity#708082 Uninitialized scalar field
Change-Id: Ie3d3d87040124c4e2416ca64ad2babe5fa38a880
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 80f458729e67..087a5e6c395c 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -618,7 +618,11 @@ Size ScIAccessibleViewForwarder::PixelToLogic (const Size& rSize) const
struct ScShapeChild
{
- ScShapeChild() : mpAccShape(NULL) {}
+ ScShapeChild()
+ : mpAccShape(NULL)
+ , mnRangeId(0)
+ {
+ }
ScShapeChild(const ScShapeChild& rOld);
~ScShapeChild();
mutable ::accessibility::AccessibleShape* mpAccShape;