summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-10-01 13:07:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-01 19:02:02 +0000
commit943919692e8cd96839aeb8cc97598fd4e55c5eea (patch)
tree070f112845a4f6b34b857f62e844aae2094f25a6 /editeng
parentf15eb068fdc1e3e70a4c623b6bf462cda64f43ad (diff)
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>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
-rw-r--r--editeng/source/items/paraitem.cxx2
2 files changed, 2 insertions, 2 deletions
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();