diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-29 13:00:33 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-29 16:57:07 +0200 |
commit | caabdbc6d2272a7549ad3761b29f23c5947ff9b2 (patch) | |
tree | 22b7df907402453caefd5d5385671860bf0a6919 | |
parent | 098df79fe179ebccafaaab0418505b32af31e1e8 (diff) |
Unuseful temporary variable
Change-Id: I926a69fa32b284475927e21f98f49330dde6d5b0
-rw-r--r-- | sw/source/core/edit/editsh.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx index 4fb3dba9c914..8950e62a78d1 100644 --- a/sw/source/core/edit/editsh.cxx +++ b/sw/source/core/edit/editsh.cxx @@ -126,8 +126,7 @@ void SwEditShell::Insert2(const OUString &rStr, const bool bForceExpandHints ) if ( rNode.IsTextNode() ) { SwIndex& rIdx = pTmpCrsr->GetPoint()->nContent; - sal_Int32 nPos = rIdx.GetIndex(); - sal_Int32 nPrevPos = nPos; + sal_Int32 nPrevPos = rIdx.GetIndex(); if ( nPrevPos ) --nPrevPos; |