summaryrefslogtreecommitdiff
path: root/vcl/source/edit/texteng.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-12 14:55:41 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 14:55:41 +0200
commitaeed216756083eaf9b883025491d137800938f33 (patch)
tree41960682754a1c77a055293bcb5cc84f88fa48ff /vcl/source/edit/texteng.cxx
parent82c2d3fe69f9732d2c178ad184a0ec2a598d386f (diff)
remove dead variable
Change-Id: I5129c1df5a5525824ec4b3cf941c9270b50b2441
Diffstat (limited to 'vcl/source/edit/texteng.cxx')
-rw-r--r--vcl/source/edit/texteng.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index 37813dbb58bd..d7cced4ae76b 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -793,9 +793,6 @@ TextPaM TextEngine::ImpInsertText( const TextSelection& rCurSel, const OUString&
// Start == End => empty line
if ( nEnd > nStart )
{
- sal_uLong nL = aPaM.GetIndex();
- nL += ( nEnd-nStart );
-
OUString aLine(aText.copy(nStart, nEnd-nStart));
if ( IsUndoEnabled() && !IsInUndo() )
InsertUndo( new TextUndoInsertChars( this, aPaM, aLine ) );