summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-20 21:07:22 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-11-21 15:45:00 +0100
commit3c1660de22542c188f3ee8038ed42bc717225551 (patch)
treecfef2d9d37b5ffdd1f746e62f153edacb864f276 /sw
parentf9379a20f4f3cfc29d2392bd981bf583b448c47d (diff)
dead init (clang)
Change-Id: Iaff0e7dbcd9a574d250dbf7edcad3ae9d11d79b9
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 7fa56d1f94ec..05d527fedfd9 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3785,8 +3785,7 @@ bool DocumentContentOperationsManager::ReplaceRangeImpl( SwPaM& rPam, const OUSt
OUString sRepl( rStr );
SwTxtNode* pTxtNd = pStt->nNode.GetNode().GetTxtNode();
sal_Int32 nStt = pStt->nContent.GetIndex();
- sal_Int32 nEnd = bOneNode ? pEnd->nContent.GetIndex()
- : pTxtNd->GetTxt().getLength();
+ sal_Int32 nEnd;
SwDataChanged aTmp( aDelPam );