diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 42e1110b156e..af50e0902921 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -422,7 +422,7 @@ void SbiInstance::PrepareNumberFormatter( SvNumberFormatter*& rpNumberFormatter, // the formatter's standard templates have only got a two-digit date // -> registering an own format - // HACK, beause the numberformatter doesn't swap the place holders + // HACK, because the numberformatter doesn't swap the place holders // for month, day and year according to the system setting. // Problem: Print Year(Date) under engl. BS // also have a look at: basic/source/sbx/sbxdate.cxx diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx index e8471e4488d8..25102d29b2aa 100644 --- a/sw/source/core/doc/doclay.cxx +++ b/sw/source/core/doc/doclay.cxx @@ -1142,7 +1142,7 @@ lcl_InsertLabel(SwDoc & rDoc, SwTxtFmtColls *const pTxtFmtCollTbl, bool bTable = false; // To save some code. - // Get the field first, beause we retrieve the TxtColl via the field's name + // Get the field first, because we retrieve the TxtColl via the field's name OSL_ENSURE( nId == USHRT_MAX || nId < rDoc.GetFldTypes()->size(), "FldType index out of bounds." ); SwFieldType *pType = (nId != USHRT_MAX) ? (*rDoc.GetFldTypes())[nId] : NULL;