summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdata.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-03-25 21:12:16 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-03-25 21:12:16 +0100
commit25d3c618d831036c08194610f188e4781c135cfc (patch)
treeff5adadb16effa6262ce65a030b7c673fe180a91 /vcl/source/edit/textdata.cxx
parent5584d73f2db413889347b4b3a1fcaf124db02b21 (diff)
Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
Diffstat (limited to 'vcl/source/edit/textdata.cxx')
-rw-r--r--vcl/source/edit/textdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx
index 00f5b73a8a0b..3e1df3ee6937 100644
--- a/vcl/source/edit/textdata.cxx
+++ b/vcl/source/edit/textdata.cxx
@@ -189,8 +189,8 @@ void TEParaPortion::CorrectValuesBehindLastFormattedLine( sal_uInt16 nLastFormat
short nTextDiff = pUnformatted.GetStart() - pLastFormatted.GetEnd();
nTextDiff++; // LastFormatted.GetEnd() was inclusive => subtracted one too much!
- // The first unformated one has to start exactly one portion past the last
- // formated one.
+ // The first unformatted one has to start exactly one portion past the last
+ // formatted one.
// If a portion got split in the changed row, nLastEnd could be > nNextStart!
short nPDiff = sal::static_int_cast< short >(-( nPortionDiff-1 ));
short nTDiff = sal::static_int_cast< short >(-( nTextDiff-1 ));