summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/edit/texteng.cxx2
-rw-r--r--vcl/source/gdi/sallayout.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index acbe1c56ed2d..7fd5843ab168 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -3088,7 +3088,7 @@ long TextEngine::ImpGetOutputOffset( sal_uLong nPara, TextLine* pLine, sal_uInt1
if ( ( nIndex == nPortionStart ) && ( nIndex == nIndex2 ) )
{
// Output of full portion, so we need portion x offset.
- // Use ImpGetPortionXOffset, because GetXPos may deliver left or right position from portioon, depending on R2L, L2R
+ // Use ImpGetPortionXOffset, because GetXPos may deliver left or right position from portion, depending on R2L, L2R
nX = ImpGetPortionXOffset( nPara, pLine, nPortion );
if ( IsRightToLeft() )
{
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index cdf7cb88f7a6..26f8a1f2b860 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -158,7 +158,7 @@ std::ostream &operator <<(std::ostream& s, ImplLayoutArgs &rArgs)
// true if a codepoint doesn't influence the logical text width
bool IsDiacritic( sal_UCS4 nChar )
{
- // shortcut abvious non-diacritics
+ // shortcut obvious non-diacritics
if( nChar < 0x0300 )
return false;
if( nChar >= 0x2100 )