summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-12-10 22:33:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2014-12-10 22:34:08 +0100
commitaf7d374d013baad34f66989dbb9443af85bd8040 (patch)
tree9557509f40b9738453f0ce5c7591cc1a65a50c64 /editeng
parent098242fdf2a2d48dd75c20d2ec9bf80057ae8021 (diff)
Typo: postion(s)=>position(s)
Change-Id: Id2957f1cb68fc4b2fef9966abeb6745b548bcb75
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index f98f9433ac85..78128aba2b40 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -144,7 +144,7 @@ struct ImplIMEInfos
void DestroyAttribs();
};
-// #i18881# to be able to identify the postions of changed words
+// #i18881# to be able to identify the positions of changed words
// the positions of each portion need to be saved
typedef std::vector<EditSelection> SpellContentSelections;
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index f4b48b8d90ad..db8fe9cf536d 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -3881,7 +3881,7 @@ long ImpEditEngine::GetPortionXOffset(
}
if ( bR2LPara )
{
- // Switch X postions...
+ // Switch X positions...
OSL_ENSURE( GetTextRanger() || GetPaperSize().Width(), "GetPortionXOffset - paper size?!" );
OSL_ENSURE( GetTextRanger() || (nX <= GetPaperSize().Width()), "GetPortionXOffset - position out of paper size!" );
nX = GetPaperSize().Width() - nX;