diff options
38 files changed, 44 insertions, 44 deletions
diff --git a/sw/source/core/swg/SwXMLTextBlocks1.cxx b/sw/source/core/swg/SwXMLTextBlocks1.cxx index 7dc7aa32ed19..74dcad77e6cc 100644 --- a/sw/source/core/swg/SwXMLTextBlocks1.cxx +++ b/sw/source/core/swg/SwXMLTextBlocks1.cxx @@ -215,7 +215,7 @@ sal_uLong SwXMLTextBlocks::GetMacroTable( sal_uInt16 nIdx, sFilterComponent, aFilterArguments, xContext), UNO_QUERY ); OSL_ENSURE( xFilter.is(), - "can't instantiate atevents filter"); + "can't instantiate atevent filter"); if ( xFilter.is() ) { // connect parser and filter diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx index 74fff44c60e9..5602fd1024de 100644 --- a/sw/source/core/text/blink.cxx +++ b/sw/source/core/text/blink.cxx @@ -32,7 +32,7 @@ /** * pBlink points to the instance where blinking portions need to register. * If necessary, it needs to be created by SwBlink. - * They are then triggered rhythimcally for a repaint. They can query + * They are then triggered rhythmically for a repaint. They can query * for being visible or invisible with IsVisible(). */ SwBlink *pBlink = nullptr; diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx index 22604422d285..1e4f6929b7c7 100644 --- a/sw/source/core/text/itrform2.cxx +++ b/sw/source/core/text/itrform2.cxx @@ -185,7 +185,7 @@ SwLinePortion *SwTextFormatter::Underflow( SwTextFormatInfo &rInf ) { // pPrev will be the last portion before pUnderflow, // which still has a real width. - // Exception: SoftHyphPortions must not be forgotten, of course! + // Exception: SoftHyphPortion must not be forgotten, of course! // Although they don't have a width. SwLinePortion *pTmpPrev = pPor; while( pPor && pPor != pUnderflow ) @@ -1638,7 +1638,7 @@ sal_Int32 SwTextFormatter::FormatLine(const sal_Int32 nStartPos) flyStarts.clear(); } else - // Special case: We do not allow an optimitation of the repaint + // Special case: we do not allow an optimization of the repaint // area, but during formatting the repaint offset is set to indicate // a maximum value for the offset. This value has to be reset: GetInfo().SetPaintOfst( 0 ); diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx index 3734f5a07e34..4e279c76565f 100644 --- a/sw/source/core/text/pormulti.cxx +++ b/sw/source/core/text/pormulti.cxx @@ -945,7 +945,7 @@ SwMultiCreator* SwTextSizeInfo::GetMultiCreator( sal_Int32 &rPos, // At this moment we know that at position rPos the "winner"-attribute // causes a 2-line-portion. The end of the attribute is the end of the // portion, if there's no interrupting attribute. - // There are two kinds of interruptors: + // There are two kinds of interrupters: // - ruby attributes stops the 2-line-attribute, the end of the // multiline is the start of the ruby attribute // - 2-line-attributes with value "Off" or with different brackets, diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx index 19e6e18b72d5..0582d14e29ff 100644 --- a/sw/source/core/text/txtfly.cxx +++ b/sw/source/core/text/txtfly.cxx @@ -420,7 +420,7 @@ bool SwTextFly::IsAnyObj( const SwRect &rRect ) const const SwSortedObjs *pSorted = pPage->GetSortedObjs(); if( pSorted ) // bOn actually makes sure that we have objects on the side, - // but who knows who deleted somehting in the meantime? + // but who knows who deleted something in the meantime? { for ( size_t i = 0; i < pSorted->size(); ++i ) { diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index d27a21cdadd7..60bc86cf9293 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -1022,7 +1022,7 @@ void SwTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew ) // E.g.: empty line, set 14 pt! // if( !nLen ) nLen = 1; - // FootnoteNummbers need to be formatted + // FootnoteNumbers need to be formatted if( !nLen ) nLen = 1; diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx index 84c52540dab6..09effe05f6e0 100644 --- a/sw/source/core/text/widorp.cxx +++ b/sw/source/core/text/widorp.cxx @@ -229,7 +229,7 @@ WidowsAndOrphans::WidowsAndOrphans( SwTextFrame *pNewFrame, const SwTwips nRst, if( m_bKeep ) { - // If pararagraph should not be split but is larger than + // If paragraph should not be split but is larger than // the page, then bKeep is overruled. if( bChkKeep && !m_pFrame->GetPrev() && !m_pFrame->IsInFootnote() && m_pFrame->IsMoveable() && diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx index 9d727a497604..cb58522e6871 100644 --- a/sw/source/core/txtnode/ndhints.cxx +++ b/sw/source/core/txtnode/ndhints.cxx @@ -251,7 +251,7 @@ bool SwpHints::Check(bool bPortionsMerged) const ->GetSortNumber() != static_txtattr_cast<const SwTextCharFormat *>(pHtLast) ->GetSortNumber()) - ) // multiple CHARFMT on same range need distinct sortner + ) // multiple CHARFMT on same range need distinct sorter ) || (pHtThis->GetStart() == *pHtThis->End()), // this empty "HintsCheck: Portion inconsistency. " diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx index eb19b089cd43..9c6116a5e568 100644 --- a/sw/source/core/undo/rolbck.cxx +++ b/sw/source/core/undo/rolbck.cxx @@ -201,7 +201,7 @@ SwHistorySetText::SwHistorySetText( SwTextAttr* pTextHt, sal_uLong nNodePos ) , m_bFormatIgnoreEnd (pTextHt->IsFormatIgnoreEnd ()) { // Caution: the following attributes generate no format attributes: - // - NoLineBreak, NoHypen, Inserted, Deleted + // - NoLineBreak, NoHyphen, Inserted, Deleted // These cases must be handled separately !!! // a little bit complicated but works: first assign a copy of the diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx index f262c7bae15e..b8cbd98c160a 100644 --- a/sw/source/core/unocore/unodraw.cxx +++ b/sw/source/core/unocore/unodraw.cxx @@ -2472,7 +2472,7 @@ drawing::HomogenMatrix3 SwXShape::ConvertTransformationToLayoutDir( drawing::HomogenMatrix3 aMatrix(rMatrixInHoriL2R); // #i44334#, #i44681# - direct manipulation of the - // tranformation structure isn't valid, if it contains rotation. + // transformation structure isn't valid, if it contains rotation. SvxShape* pSvxShape = GetSvxShape(); OSL_ENSURE( pSvxShape, "<SwXShape::ConvertTransformationToLayoutDir(..)> - no SvxShape found!"); diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index a15c03043c4d..1b5d3bf44c28 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -1176,7 +1176,7 @@ void SwXNumberingRules::replaceByIndex(sal_Int32 nIndex, const uno::Any& rElemen *rProperties, nIndex); else if(pDocShell) { - // #i87650# - correction of cws swwarnings: + // #i87650# - correction of cws warnings: SwNumRule aNumRule( *(pDocShell->GetDoc()->GetOutlineNumRule()) ); SwXNumberingRules::SetNumberingRuleByIndex( aNumRule, *rProperties, nIndex); diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 659c068c69f0..67b5610bb092 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1983,7 +1983,7 @@ void SwXStyle::SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry, const else { // adapted switch logic to a more readable state; removed goto's and made - // execution of standard setting of proerty in ItemSet dependent of this variable + // execution of standard setting of property in ItemSet dependent of this variable uno::Any aValue(rValue); lcl_TranslateMetric(rEntry, m_pDoc, aValue); SetPropertyValue<HINT_BEGIN>(rEntry, rPropSet, aValue, rBase); diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx index 3a35921e1fe9..afbf49ceef17 100644 --- a/sw/source/filter/html/css1atr.cxx +++ b/sw/source/filter/html/css1atr.cxx @@ -234,7 +234,7 @@ void SwHTMLWriter::OutCSS1_Property( const sal_Char *pProp, // // p.leaders { // /* FIXME: - // (1) dots line up vertically only in the paragraphs with the same alignation/level + // (1) dots line up vertically only in the paragraphs with the same alignment/level // (2) max-width = 18 cm instead of 80em; possible improvement with the new CSS3 calc() */ // max-width: 18cm; /* note: need to overwrite max-width with max-width - border-left_of_the_actual_paragraph */ // padding: 0; diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index a8e3ac1df19a..26491ea132b0 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -123,7 +123,7 @@ void SwHTMLWriter::OutAndSetDefList( sal_uInt16 nNewLvl ) // possibly, we first need to start a new list if( m_nDefListLvl < nNewLvl ) { - // output </pre> for the previous(!) pararagraph, if required. + // output </pre> for the previous(!) paragraph, if required. // Preferable, the <pre> is exported by OutHTML_SwFormatOff for the // previous paragraph already, but that's not possible, because a very // deep look at the next paragraph (this one) is required to figure diff --git a/sw/source/filter/html/htmlfldw.cxx b/sw/source/filter/html/htmlfldw.cxx index 39a173bd6c43..1954ce14aae0 100644 --- a/sw/source/filter/html/htmlfldw.cxx +++ b/sw/source/filter/html/htmlfldw.cxx @@ -522,7 +522,7 @@ Writer& OutHTML_SwFormatField( Writer& rWrt, const SfxPoolItem& rHt ) aContents = pField->GetPar2(); // sonst ist es der Script-Inhalt selbst. Da nur noh JavaScript - // in Feldern landet, muss es sich um JavaSrript handeln ...:) + // in Feldern landet, muss es sich um JavaScript handeln...:) HTMLOutFuncs::OutScript( rWrt.Strm(), rWrt.GetBaseURL(), aContents, rType, JAVASCRIPT, aURL, nullptr, nullptr, rHTMLWrt.m_eDestEnc, &rHTMLWrt.m_aNonConvertableCharacters ); diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 7faf6a253c1b..131b6b282a60 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -1614,7 +1614,7 @@ SwTableLine *HTMLTable::MakeTableLine( SwTableBox *pUpper, } else if( !m_pLineFrameFormatNoHeight ) { - // else, we'll have to remove the height from the attribute and remember the formatx + // else, we'll have to remove the height from the attribute and remember the format m_pLineFrameFormatNoHeight = static_cast<SwTableLineFormat*>(pLine->ClaimFrameFormat()); ResetLineFrameFormatAttrs( m_pLineFrameFormatNoHeight ); @@ -2333,7 +2333,7 @@ void HTMLTable::MakeTable( SwTableBox *pBox, sal_uInt16 nAbsAvail, // Step 1: needed layout structures are created (including tables in tables) CreateLayoutInfo(); - // Step 2: the mininal and maximal column width is calculated + // Step 2: the minimal and maximal column width is calculated // (including tables in tables). Since we don't have boxes yet, // we'll work on the start nodes m_pLayoutInfo->AutoLayoutPass1(); @@ -3915,7 +3915,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions, return; } - // If the content of the cell was empty, we need to create an epty content + // If the content of the cell was empty, we need to create an empty content // We also create an empty content if the cell ended with a table and had no // COL tags. Otherwise, it was probably exported by us and we don't // want to have an additional paragraph diff --git a/sw/source/filter/inc/msfilter.hxx b/sw/source/filter/inc/msfilter.hxx index b8d65a2bf792..559e63d7c57e 100644 --- a/sw/source/filter/inc/msfilter.hxx +++ b/sw/source/filter/inc/msfilter.hxx @@ -311,7 +311,7 @@ namespace sw their layout frms deleted and recalculated. This TableManager detects the necessity to do this, and all tables inserted into a document should be registered with this manager with - InsertTable, and before finialization DelAndMakeTableFrames should + InsertTable, and before finalization DelAndMakeTableFrames should be called. @author diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 9224c902c0df..b69b06d72ed6 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -310,7 +310,7 @@ void DocxAttributeOutput::StartParagraph( ww8::WW8TableNodeInfo::Pointer_t pText bEndParaSdt = m_bStartedParaSdt && rMap.find("ParaSdtEndBefore") != rMap.end(); } } - // TODO also avoid multiline paragarphs in those SDT types for shape text + // TODO also avoid multiline paragraphs in those SDT types for shape text bool bOneliner = m_bStartedParaSdt && !m_rExport.SdrExporter().IsDMLAndVMLDrawingOpen() && lcl_isOnelinerSdt(m_aStartedParagraphSdtPrAlias); if (bEndParaSdt || (m_bStartedParaSdt && m_bHadSectPr) || bOneliner) { diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index a7e0247a6ae3..0ce54ec5a03a 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -1630,7 +1630,7 @@ SvxBrushItem WW8Export::TrueFrameBgBrush(const SwFrameFormat &rFlyFormat) const /* Convert characters that need to be converted, the basic replacements and the -ridicously complicated title case attribute mapping to hardcoded upper case +ridiculously complicated title case attribute mapping to hardcoded upper case because word doesn't have the feature */ OUString SwWW8AttrIter::GetSnippet(const OUString &rStr, sal_Int32 nAktPos, diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx index 839bb6471c26..bf10e860df31 100644 --- a/sw/source/filter/ww8/ww8graf.cxx +++ b/sw/source/filter/ww8/ww8graf.cxx @@ -465,7 +465,7 @@ ESelection GetESelection(EditEngine &rDrawEditEngine, long nCpStart, long nCpEnd } // InsertTxbxStyAttrs() sets style attributes into the passed ItemSet. -// SW styles are used since import-WW-styles are alreaday destroyed. +// SW styles are used since import-WW-styles are already destroyed. // SW styles are examined in depth first search order (with parent styles) // for the attributes given in aSrcTab. They're cloned, and the clones' // Which-IDs are changed according to the aDstTab table so that the @@ -1333,7 +1333,7 @@ SdrObject *SwWW8ImplReader::ReadGroup(WW8_DPHEAD* pHd, SfxAllItemSet &rSet) SdrObject* SwWW8ImplReader::ReadGrafPrimitive(short& rLeft, SfxAllItemSet &rSet) { // This whole archaic word 6 graphic import can probably be refactored - // into an object hierarachy with a little effort. + // into an object hierarchy with a little effort. SdrObject *pRet=nullptr; WW8_DPHEAD aHd; // Lese Draw-Primitive-Header bool bCouldRead = checkRead(*m_pStrm, &aHd, sizeof(WW8_DPHEAD)); diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 699f87103281..3bd36395c5e4 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5239,7 +5239,7 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss) == (0xFFFF0000 & pNextOrder->nTxBxComp)) pNextFlyFormat = pNextOrder->pFly; } - // Determine precessor, if we can + // Determine predecessor, if we can if( it != aTxBxSort.begin() ) { SvxMSDffShapeTxBxSort::iterator tmpIter2 = it; diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 405c7923b582..990971d22d0c 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -1574,7 +1574,7 @@ SwNumRule* WW8ListManager::GetNumRuleForActivation(sal_uInt16 nLFOPosition, certainly a simple continuous list, and we will try to keep it like that. Otherwise when we save again it will be shown as the true outline list that it is, confusing the user that just wanted what they thought was a - simple list. On the otherhand it is possible that some of the other levels + simple list. On the other hand it is possible that some of the other levels were used by the user, in which case we will not pretend anymore that it is a simple list. Something that word 2000 does anyway, that 97 didn't, to my bewilderment. diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index eb2f5efba888..68328025ab1f 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3357,7 +3357,7 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, OUString& rStr ) // #i21237# - propagate tab stops from paragraph styles used in TOX to patterns of the TOX pBase->AdjustTabStops( m_rDoc ); - //#i10028# inserting a toc implicltly acts like a parabreak in word and writer + //#i10028# inserting a toc implicitly acts like a parabreak in word and writer if ( m_pPaM->End() && m_pPaM->End()->nNode.GetNode().GetTextNode() && m_pPaM->End()->nNode.GetNode().GetTextNode()->Len() != 0 ) diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index 5747ca946e91..bbd68256a9dd 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -1156,7 +1156,7 @@ public: bool m_fWord2000Saved :1; sal_uInt8 :2; - sal_uInt16 m_chse; // 0x14 default extended character set id for text in document stream. (overidden by chp.chse) + sal_uInt16 m_chse; // 0x14 default extended character set id for text in document stream. (overridden by chp.chse) // 0 = ANSI / 256 Macintosh character set. sal_uInt16 m_chseTables; // 0x16 default extended character set id for text in // internal data structures: 0 = ANSI, 256 = Macintosh diff --git a/sw/source/filter/ww8/ww8toolbar.cxx b/sw/source/filter/ww8/ww8toolbar.cxx index 471e57aa618b..2bfca76017b4 100644 --- a/sw/source/filter/ww8/ww8toolbar.cxx +++ b/sw/source/filter/ww8/ww8toolbar.cxx @@ -194,7 +194,7 @@ void SwCTBWrapper::Print( FILE* fp ) indent_printf(fp," reserved3(0x%x)\n",reserved3); indent_printf(fp," reserved4(0x%x)\n",reserved4); indent_printf(fp," reserved5(0x%x)\n",reserved5); - indent_printf(fp,"Quiting dump"); + indent_printf(fp,"Quitting dump"); return; } indent_printf(fp," size of TBDelta structures 0x%x\n", cbTBD ); diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 55e8fdc93ad9..24e09169152a 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2289,7 +2289,7 @@ SwTableLine *SwXMLTableContext::MakeTableLine( SwTableBox *pUpper, else if ( m_bHasSubTables ) { // If the table resulting table fragment could be divided - // into lines if spllitting behind the current column, but + // into lines if splitting behind the current column, but // this doesn't apply for thr next column, we split begind // the current column. This applies for the last column, // too. diff --git a/sw/source/ui/fldui/fldui.src b/sw/source/ui/fldui/fldui.src index 4138a1bcdd2b..a3642cd4f9e7 100644 --- a/sw/source/ui/fldui/fldui.src +++ b/sw/source/ui/fldui/fldui.src @@ -536,7 +536,7 @@ String FMT_REF_NUMBER_FULL_CONTEXT Text [ en-US ] = "Number (full context)"; }; /*-------------------------------------------------------------------- - Description: paceholder + Description: placeholder --------------------------------------------------------------------*/ String FMT_MARK_TEXT { diff --git a/sw/source/ui/vba/vbainformationhelper.cxx b/sw/source/ui/vba/vbainformationhelper.cxx index 4e2a266fdbf6..9a4ed016e07c 100644 --- a/sw/source/ui/vba/vbainformationhelper.cxx +++ b/sw/source/ui/vba/vbainformationhelper.cxx @@ -55,7 +55,7 @@ double SwVbaInformationHelper::handleWdVerticalPositionRelativeToPage( const css SwDoc* pDoc = word::getDocShell( xModel )->GetDoc(); SwViewShell* pViewSh = pDoc->getIDocumentLayoutAccess().GetCurrentViewShell(); sal_Int32 nPageHeight = pViewSh ? pViewSh->GetPageSize( nCurrentPage, false ).Height() : 0; - // FIXME: handle multipul page style + // FIXME: handle multiple page style // it is very strange that the cursor position is incorrect when open Word file. // e.g. if current cursor in the top left of the text body of the first page without header, // the top value of current position should be 0, but is 201 when open a Word file. diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx index e4d9fbe82ae4..b3334a13766c 100644 --- a/sw/source/ui/vba/vbaselection.cxx +++ b/sw/source/ui/vba/vbaselection.cxx @@ -87,7 +87,7 @@ uno::Reference< text::XTextRange > SwVbaSelection::GetSelectedRange() uno::Reference< container::XIndexAccess > xTextRanges( xServiceInfo, uno::UNO_QUERY_THROW ); if( xTextRanges->getCount() > 0 ) { - // if there are multipul selection, just return the last selected Range. + // if there are multiple selection, just return the last selected Range. xTextRange.set( xTextRanges->getByIndex( xTextRanges->getCount()-1 ), uno::UNO_QUERY_THROW ); } } @@ -1063,7 +1063,7 @@ void SAL_CALL SwVbaSelection::Collapse( const uno::Any& Direction ) uno::Reference< text::XTextViewCursor > xTextViewCursor = word::getXTextViewCursor( mxModel ); if( nDirection == word::WdCollapseDirection::wdCollapseStart ) { - // it is inaccurate if current seleciton is multipul cells, so it needs to go to start + // it is inaccurate if current selection is multiple cells, so it needs to go to start uno::Reference< text::XTextRange > xTextRange = mxTextViewCursor->getStart(); xTextViewCursor->gotoRange( xTextRange, false ); xTextViewCursor->collapseToStart(); diff --git a/sw/source/uibase/app/docstyle.cxx b/sw/source/uibase/app/docstyle.cxx index d384b34f882d..65ced01aa5fa 100644 --- a/sw/source/uibase/app/docstyle.cxx +++ b/sw/source/uibase/app/docstyle.cxx @@ -2749,7 +2749,7 @@ SfxStyleSheetBase* SwStyleSheetIterator::First() : pFormat->GetName() ); } - // PoolFormate + // PoolFormat if( bAll ) { if( ! rDoc.getIDocumentSettingAccess().get(DocumentSettingId::HTML_MODE) ) @@ -2963,7 +2963,7 @@ SfxStyleSheetBase* SwStyleSheetIterator::First() aLst.Append( cFRAME, pFormat->GetName() ); } - // PoolFormate + // PoolFormat if ( bAll ) AppendStyleList(SwStyleNameMapper::GetFrameFormatUINameArray(), bIsSearchUsed, bSearchHidden, bOnlyHidden, SwGetPoolIdFromName::FrmFmt, cFRAME); diff --git a/sw/source/uibase/dbui/README b/sw/source/uibase/dbui/README index f04d5389b60d..a406f7f9787f 100644 --- a/sw/source/uibase/dbui/README +++ b/sw/source/uibase/dbui/README @@ -2,7 +2,7 @@ Mail merge (MM) has *four modes*. The modes 1-3 are directly exposed to the user via different GUIs. The modes are: 1. FILE = saves the result as documents -2. PRINTER = directly printes resulting documents +2. PRINTER = directly prints resulting documents 3. EMAIL = sends results as inidividual emails 4. SHELL = returns an internal document shell for further programming diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 44d76b252eda..48be93a38f96 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -4914,7 +4914,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) } ReleaseMouse(); - // Only processed MouseEvents arrive here; only at these the moduses can + // Only processed MouseEvents arrive here; only at these this mode can // be resetted. m_bMBPressed = false; diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index 1a965f07c494..550842735687 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -163,7 +163,7 @@ friend void PageNumNotify( SwViewShell* pVwSh, /* * handler for scrolling on when the mousepointer - * stopps outside of EditWin during a drag-operation. + * stops outside of EditWin during a drag-operation. * The selection is regularly increased towards the mouse * position. */ diff --git a/sw/source/uibase/inc/prcntfld.hxx b/sw/source/uibase/inc/prcntfld.hxx index 9476ff3405f8..044eb77fcfa6 100644 --- a/sw/source/uibase/inc/prcntfld.hxx +++ b/sw/source/uibase/inc/prcntfld.hxx @@ -37,7 +37,7 @@ class SW_DLLPUBLIC PercentField sal_Int64 nLastValue; sal_uInt16 nOldDigits; FieldUnit eOldUnit; - bool bLockAutoCalculation; //prevent recalcution of percent values when the + bool bLockAutoCalculation; //prevent recalculation of percent values when the //reference value is changed SAL_DLLPRIVATE static sal_Int64 ImpPower10(sal_uInt16 n); diff --git a/sw/source/uibase/wrtsh/navmgr.cxx b/sw/source/uibase/wrtsh/navmgr.cxx index 3c5aa8c9ae16..3852e1959de9 100644 --- a/sw/source/uibase/wrtsh/navmgr.cxx +++ b/sw/source/uibase/wrtsh/navmgr.cxx @@ -148,7 +148,7 @@ bool SwNavigationMgr::addEntry(const SwPosition& rPos) { // Indicates whether the index should be decremented before // jumping back or not // The navigation history has recency with temporal ordering enhancement, - // as described on http://zing.ncsl.nist.gov/hfweb/proceedings/greenberg/ + // as described on http://zing.ncsl.nist.gov/hfweb/proceedings/greenberg/ // If any forward history exists, twist the tail of the // list from the current position to the end if (bForwardWasEnabled) { diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index ce1af88dad2a..0cdab48eac0b 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -1594,7 +1594,7 @@ void SwWrtShell::AutoCorrect( SvxAutoCorrect& rACorr, sal_Unicode cChar ) if(HasSelection()) { - // Only parenthese here, because the regular insert + // Only parentheses here, because the regular insert // is already clipped to the editshell StartAllAction(); diff --git a/sw/source/uibase/wrtsh/wrtsh4.cxx b/sw/source/uibase/wrtsh/wrtsh4.cxx index e610aae29c22..5d16fd869a69 100644 --- a/sw/source/uibase/wrtsh/wrtsh4.cxx +++ b/sw/source/uibase/wrtsh/wrtsh4.cxx @@ -44,7 +44,7 @@ bool SwWrtShell::SttWrd() } // The end of a word is the follow of separator to nonseparator. -// The end of a word is also the sequence of wordseparators to +// The end of a word is also the sequence of word separators to // punctuation marks. // The end of a paragraph is also the end of a word. diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index 9c952a50ff01..4a0f7e792560 100755 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT # package gets installed OR when the menu-package is already installed and one # of the above listed packages gets installed -# Dut to a bug in rpm it is not possible to check why the script is triggered... +# Due to a bug in rpm it is not possible to check why the script is triggered... # This is how it should be: 1st arg: number of this package, 2nd arg: number of # package that triggers - the bug is that rpm reports the same number for both # (the value of the 2nd one), so just run this always... |