summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 11:52:06 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-05 16:36:15 -0600
commit69afd67fe2e40c8c735f87b2fa21d797c6ef4844 (patch)
tree8fcefd0f8d1a379dbcce297bfa6e1e1d13f1772c /editeng
parentFix typo and a bit of cleanup. (diff)
downloadcore-69afd67fe2e40c8c735f87b2fa21d797c6ef4844.tar.gz
core-69afd67fe2e40c8c735f87b2fa21d797c6ef4844.zip
coverity#707754 Uninitialized scalar field
Change-Id: I4de0a0857ce87266c3f3c4993efc45b12539156c
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit3.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index ff80d973a310..e1240215f7ad 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -95,7 +95,14 @@ struct TabInfo
long nStartPosX;
long nTabPos;
- TabInfo() { bValid = false; }
+ TabInfo()
+ : bValid(false)
+ , nCharPos(0)
+ , nTabPortion(0)
+ , nStartPosX(0)
+ , nTabPos(0)
+ { }
+
};
Point Rotate( const Point& rPoint, short nOrientation, const Point& rOrigin )