From 943919692e8cd96839aeb8cc97598fd4e55c5eea Mon Sep 17 00:00:00 2001
From: Andrea Gelmini <andrea.gelmini@gelma.net>
Date: Sat, 1 Oct 2016 13:07:39 +0200
Subject: Fix typos

Change-Id: I8374d6d08f4eb4ae2821e213371c615b92d7e9ab
Reviewed-on: https://gerrit.libreoffice.org/29432
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
---
 editeng/source/editeng/eertfpar.cxx | 2 +-
 editeng/source/items/paraitem.cxx   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'editeng')

diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx
index 4e6e18d019d5..bf03c9042241 100644
--- a/editeng/source/editeng/eertfpar.cxx
+++ b/editeng/source/editeng/eertfpar.cxx
@@ -334,7 +334,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )
 
         if( ( DFLT_ESC_AUTO_SUPER != nEsc ) && ( DFLT_ESC_AUTO_SUB != nEsc ) )
         {
-            nEsc *= 10; //HalPoints => Twips was embezzled in RTFITEM.CXX!
+            nEsc *= 10; //HalfPoints => Twips was embezzled in RTFITEM.CXX!
             SvxFont aFont;
             mpEditEngine->SeekCursor(aStartPaM.GetNode(), aStartPaM.GetIndex()+1, aFont);
             nEsc = nEsc * 100 / aFont.GetFontSize().Height();
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index 6a12381dc164..26bb5d003360 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -1080,7 +1080,7 @@ SfxPoolItem* SvxTabStopItem::Create( SvStream& rStrm, sal_uInt16 ) const
 SvStream& SvxTabStopItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) const
 {
     // Default-Tabs are only expanded for the default Attribute. For complete
-    // backward compability (<=304) all tabs have to be expanded, this makes
+    // backward compatibility (<=304) all tabs have to be expanded, this makes
     // the files grow large in size. All only SWG!
 
     const SfxItemPool *pPool = SfxItemPool::GetStoringPool();
-- 
cgit