diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 11:52:06 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 16:36:15 -0600 |
commit | 69afd67fe2e40c8c735f87b2fa21d797c6ef4844 (patch) | |
tree | 8fcefd0f8d1a379dbcce297bfa6e1e1d13f1772c /editeng | |
parent | 444baecf4483c96e680fdb3f81c7197161720cbb (diff) |
coverity#707754 Uninitialized scalar field
Change-Id: I4de0a0857ce87266c3f3c4993efc45b12539156c
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 9 |
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 ) |