summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-01-02 15:51:30 +0100
committerEike Rathke <erack@redhat.com>2015-01-02 20:23:51 +0000
commit3a2b1af87d629a780f0e98559fb8b409378a80c7 (patch)
treeecf27171a38a2d6d4b05b4acd42e8e98b7f7d70a /editeng
parentd7794d2584cd5d476b011b5344c77ad59c179c58 (diff)
Fix simple typos.
Change-Id: I1fdbe47ed7a6e05d2cf20f4c296bffad4bbc6599 Reviewed-on: https://gerrit.libreoffice.org/13719 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/textitem.cxx2
-rw-r--r--editeng/source/outliner/outleeng.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index 16870d91208e..67f22e537e4f 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -919,7 +919,7 @@ bool SvxFontHeightItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
// and the prop data; this seems somewhat futile given the various ways how the
// modified height is calculated (with and without conversion between twips and
// 100th mm; with an additional eCoreMetric input in one of the SetHeight
-// overloads), and indeed known to occassionally produce nRet values that would
+// overloads), and indeed known to occasionally produce nRet values that would
// be negative, so just guard against negative results here and throw the hands
// up in despair:
static sal_uInt32 lcl_GetRealHeight_Impl(sal_uInt32 nHeight, sal_uInt16 nProp, SfxMapUnit eProp, bool bCoreInTwip)
diff --git a/editeng/source/outliner/outleeng.cxx b/editeng/source/outliner/outleeng.cxx
index db90fda6c41e..55257542279b 100644
--- a/editeng/source/outliner/outleeng.cxx
+++ b/editeng/source/outliner/outleeng.cxx
@@ -198,7 +198,7 @@ void OutlinerEditEng::SetParaAttribs( sal_Int32 nPara, const SfxItemSet& rSet )
pOwner->ImplCheckNumBulletItem( nPara );
// #i100014#
- // It is not a good idea to substract 1 from a count and cast the result
+ // It is not a good idea to subtract 1 from a count and cast the result
// to sal_uInt16 without check, if the count is 0.
pOwner->ImplCheckParagraphs( nPara, pOwner->pParaList->GetParagraphCount() );