diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 12:18:53 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-05 16:36:16 -0600 |
commit | 5c5d31b04c4a856a103312064e87f50ddd385474 (patch) | |
tree | f0926552942093d3d808e4a91935f7f633f5744e /editeng/source/misc | |
parent | 5523ed4b3571a22c32357459fd4f4976d32a341f (diff) |
coverity#707761-62 Uninitialized scalar field
Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
Diffstat (limited to 'editeng/source/misc')
-rw-r--r-- | editeng/source/misc/splwrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx index e5bd328ce497..730f7eca4371 100644 --- a/editeng/source/misc/splwrap.cxx +++ b/editeng/source/misc/splwrap.cxx @@ -64,8 +64,8 @@ void SvxPrepareAutoCorrect( OUString &rOldText, const OUString &rNewText ) // rOldText: text to be replaced // rNewText: replacement text - sal_Int32 nOldLen = rOldText.getLength(), - nNewLen = rNewText.getLength(); + sal_Int32 nOldLen = rOldText.getLength(); + sal_Int32 nNewLen = rNewText.getLength(); if (nOldLen && nNewLen) { bool bOldHasDot = '.' == rOldText[ nOldLen - 1 ], |