summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textundo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-07 11:00:17 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:46 +0200
commit81386316c55f781ffd115bbae5d8d439a358bfcc (patch)
tree72682200b5f3ce2196642bbf7dea2b0bd1fce06a /vcl/source/edit/textundo.cxx
parentb417e5b5b8e6ca375082975f44aa70702d57e9bd (diff)
convert vcl/source/edit/textdoc.hxx from String to OUString
Change-Id: Ie53f89d3112edb75d69d04777df1406ea4f980fa
Diffstat (limited to 'vcl/source/edit/textundo.cxx')
-rw-r--r--vcl/source/edit/textundo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index 0e218af8a108..a59071c554d2 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -168,7 +168,7 @@ void TextUndoDelPara::Undo()
if ( GetView() )
{
- TextSelection aSel( TextPaM( mnPara, 0 ), TextPaM( mnPara, mpNode->GetText().Len() ) );
+ TextSelection aSel( TextPaM( mnPara, 0 ), TextPaM( mnPara, mpNode->GetText().getLength() ) );
SetSelection( aSel );
}
}
@@ -190,7 +190,7 @@ void TextUndoDelPara::Redo()
sal_uLong nParas = GetDoc()->GetNodes().Count();
sal_uLong n = mnPara < nParas ? mnPara : (nParas-1);
TextNode* pN = GetDoc()->GetNodes().GetObject( n );
- TextPaM aPaM( n, pN->GetText().Len() );
+ TextPaM aPaM( n, pN->GetText().getLength() );
SetSelection( aPaM );
}