summaryrefslogtreecommitdiff
path: root/vcl
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
parent5584d73f2db413889347b4b3a1fcaf124db02b21 (diff)
Typo: formated->formatted
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/textdata.cxx4
-rw-r--r--vcl/source/filter/sgvtext.cxx2
2 files changed, 3 insertions, 3 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 ));
diff --git a/vcl/source/filter/sgvtext.cxx b/vcl/source/filter/sgvtext.cxx
index a069259d1f2d..2a01dbcb3ae9 100644
--- a/vcl/source/filter/sgvtext.cxx
+++ b/vcl/source/filter/sgvtext.cxx
@@ -150,7 +150,7 @@ extern SgfFontLst* pSgfFonts;
#define THJustCenter 0x01
#define THJustRight 0x02
#define THJustBlock 0x03
-#define THJustDrvOut 0x04 /* Justified formated */
+#define THJustDrvOut 0x04 /* Justified formatted */
#define THJustLocked 0x05 /* J u s t l o c k e d */
#define MaxCharSlant 4200 /* maximum 42deg italic ! */