summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-06-22 14:31:42 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-22 12:36:21 +0000
commitaade27554d427649810f5635133519cadfa8002f (patch)
tree7f87acd42d9b3821f969444cc0a65e8f27988503 /editeng
parenteb0c9b43e7f09054a864eb44c24c43b27c0f21f5 (diff)
Fix typos
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdoc.cxx6
-rw-r--r--editeng/source/items/textitem.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index b5b2e4c8383e..d1211eea223e 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1311,7 +1311,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool&
{
// Do not check Index, a empty one could only be there
// When later checking it anyhow:
- // Special caase: Start == 0; AbsLen == 1, nNew = 1
+ // Special case: Start == 0; AbsLen == 1, nNew = 1
// => Expand, because of paragraph break!
// Start <= nIndex, End >= nIndex => Start=End=nIndex!
// if ( pAttrib->GetStart() == nIndex )
@@ -2693,9 +2693,9 @@ void EditDoc::FindAttribs( ContentNode* pNode, sal_Int32 nStartPos, sal_Int32 nE
// item represents its presence by absence!
// If (...)
// It needs to be examined on exactly the same attribute at the
- // breaki point, which is quite expensive.
+ // break point, which is quite expensive.
// Since optimazation is done when inserting the attributes
- // this case does not appear so fast ...
+ // this case does not appear so fast...
// So based on the need for speed:
rCurSet.InvalidateItem( pAttr->GetItem()->Which() );
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 599bb023c844..af15b3dfd13f 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -381,7 +381,7 @@ SvStream& SvxFontItem::Store( SvStream& rStrm , sal_uInt16 /*nItemVersion*/ ) co
rStrm.WriteUniOrByteString(aStoreFamilyName, rStrm.GetStreamCharSet());
rStrm.WriteUniOrByteString(GetStyleName(), rStrm.GetStreamCharSet());
- // cach for EditEngine, only set while creating clipboard stream.
+ // catch for EditEngine, only set while creating clipboard stream.
if ( bEnableStoreUnicodeNames )
{
sal_uInt32 nMagic = STORE_UNICODE_MAGIC_MARKER;