diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-11-20 09:28:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-11-20 09:32:17 +0000 |
commit | bdc7cf264a285e0f5817131fa07872c85dc4826b (patch) | |
tree | b66e6d65360644f151f646c78a7652133d0e0281 /sdext | |
parent | Drop processYield return type. (diff) | |
download | core-bdc7cf264a285e0f5817131fa07872c85dc4826b.tar.gz core-bdc7cf264a285e0f5817131fa07872c85dc4826b.zip |
cppcheck: Variable is reassigned a value before the old one has been used
Change-Id: Ifc16473c426bca2235e84b0d71291756074712bb
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterController.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index bf0b4c135df6..573066745d42 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -394,7 +394,6 @@ void PresenterController::UpdatePaneTitles (void) sResult.append(sTemplate.copy(nIndex, nStartIndex-nIndex)); // Get the placeholder - ++nIndex; ++nStartIndex; const sal_Int32 nEndIndex (sTemplate.indexOf('%', nStartIndex+1)); const OUString sPlaceholder (sTemplate.copy(nStartIndex, nEndIndex-nStartIndex)); |