summaryrefslogtreecommitdiff
path: root/vcl/source/edit/texteng.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-08 16:36:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-09 09:23:58 +0200
commitcb680992d256e01494956b25f3f3517f63c2e558 (patch)
tree816c363a4a91dabfedeae0c3b44b9896a80f797c /vcl/source/edit/texteng.cxx
parent93d499df007cbde03222e6302168cbeb16bf9b6e (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: I68ab6da7c90b869499f1b7a4d2433dac77d36889
Diffstat (limited to 'vcl/source/edit/texteng.cxx')
-rw-r--r--vcl/source/edit/texteng.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 1815e4330891..316ee8de8ee1 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -2531,7 +2531,7 @@ bool TextEngine::Write( SvStream& rOutput, const TextSelection* pSel, bool bHTML
else
{
sal_Int32 nTmpStart = nStartPos;
- sal_Int32 nTmpEnd = nEndPos;
+ sal_Int32 nTmpEnd;
do
{
const TextCharAttrib* pAttr = pNode->GetCharAttribs().FindNextAttrib( TEXTATTR_HYPERLINK, nTmpStart, nEndPos );