diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-07-02 18:25:58 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2015-07-04 10:18:19 +0000 |
commit | 462e986e0dbd533b3a15696555e08489963c9542 (patch) | |
tree | 711fc2581ec8b565fcab533350aa44e85e7604a7 /sw | |
parent | 8db705fc7542f3ee45eb5d8c1c70ccf15ecc7581 (diff) |
Fix typos
Change-Id: Id9296115f30858e7fd470a199e59343a96d7deec
Reviewed-on: https://gerrit.libreoffice.org/16712
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sw')
52 files changed, 62 insertions, 62 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 656ebb5faacb..e34a77dd732f 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -260,7 +260,7 @@ class SW_DLLPUBLIC SwDoc : /* @@@MAINTAINABILITY-HORROR@@@ Timer should not be members of the model */ - Idle maOLEModifiedIdle; //< Timer for update modified OLE-Objecs + Idle maOLEModifiedIdle; //< Timer for update modified OLE-Objects SwDBData maDBData; //< database descriptor OUString msTOIAutoMarkURL; //< URL of table of index AutoMark file boost::ptr_vector< boost::nullable<OUString> > maPatternNms; // Array for names of document-templates @@ -458,7 +458,7 @@ private: public: enum DocumentType { DOCTYPE_NATIVE, - DOCTYPE_MSWORD //This doc medul is come from Ms Word + DOCTYPE_MSWORD //This doc model comes from MS Word }; DocumentType meDocType; DocumentType GetDocumentType(){ return meDocType; } @@ -1288,7 +1288,7 @@ public: SwTableBoxFormat* MakeTableBoxFormat(); SwTableLineFormat* MakeTableLineFormat(); - // Check if box has numerical valule. Change format of box if required. + // Check if box has numerical value. Change format of box if required. void ChkBoxNumFormat( SwTableBox& rAktBox, bool bCallUpdate ); void SetTableBoxFormulaAttrs( SwTableBox& rBox, const SfxItemSet& rSet ); void ClearBoxNumAttrs( const SwNodeIndex& rNode ); diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index 67bc53ffd119..aa8118b1534d 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -247,7 +247,7 @@ public: * * @param rSet * output parameter - the SfxItemSet where the automatic paragraph format attribute(s) will be store. - * The attributes aren't invalidated or cleared if the function reach the getMaxLookup limite. + * The attributes aren't invalidated or cleared if the function reach the getMaxLookup limit. * * @return true if the function inspect all the nodes point by the pPaM parameter, * false if the function reach the limit of getMaxLookup number of nodes inspected. diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index c3e568342e51..fa2ff510e89e 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -303,7 +303,7 @@ public: sophisticated one day. */ bool IsDirectlyInSection() const; - /** For return valies see above FrmType. + /** For return values see above FrmType. pPt: Cursr or DocPos respectively; bStopAtFly: Stop at flys or continue over anchor. Although (0,TRUE) is kind of a standard, the parameters are not defaulted here in order to force more conscious use especially of bStopAtFly. */ diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 94ffd6a7401b..50ada0890cbb 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -423,7 +423,7 @@ public: /** Returns numbering rule of this text node. - @param bInParent serach in parent attributes, too + @param bInParent search in parent attributes, too @return numbering rule of this text node or NULL if none is set */ diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index b74dbea7273f..70061eb07011 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -887,7 +887,7 @@ void SwDocTest::testSwScanner() aDocStat.nChar == 15); aDocStat.Reset(); - //But default configuration should, msword-alike treak emdash + //But default configuration should, msword-alike treat emdash //and endash as word separators for word-counting m_pDoc->getIDocumentContentOperations().AppendTextNode(*aPaM.GetPoint()); m_pDoc->getIDocumentContentOperations().InsertString(aPaM, sTemplate.replace('X', 0x2013)); diff --git a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx index 102c1a5dffeb..29bcbe10c9d5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx @@ -573,7 +573,7 @@ DECLARE_OOXMLEXPORT_TEST(testEditTime, "fdo81341.docx") /* Issue was LO was not able to Import and Export EditTime in seconds format. * It was supporting Time in "HH:MM" format. But if DOCX conatins Time in seconds, * then LO was not able to display time in "HH:MM:SS" format. - * While exporting LO was writing plian text instead of field entry. + * While exporting LO was writing plain text instead of field entry. */ if (xmlDocPtr pXmlDoc = parseExport("word/document.xml")) { diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx index 4e620d6fa5ec..1c96ee6aa403 100644 --- a/sw/source/core/access/acccontext.hxx +++ b/sw/source/core/access/acccontext.hxx @@ -327,11 +327,11 @@ public: // The object has been moved by the layout virtual void InvalidatePosOrSize( const SwRect& rFrm ); - // The vhild object has been moved by the layout + // The child object has been moved by the layout virtual void InvalidateChildPosOrSize( const sw::access::SwAccessibleChild& rFrmOrObj, const SwRect& rFrm ); - // The content may have changed (but it hasn't tohave changed) + // The content may have changed (but it hasn't to have changed) void InvalidateContent(); // The caretPos has changed diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index 721d7551bb9e..c86188889cd1 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -2229,7 +2229,7 @@ bool SwCrsrShell::SelectNxtPrvHyperlink( bool bNext ) } } - // then check all the Flys with a URL or imapge map + // then check all the Flys with a URL or image map { const SwFrameFormats* pFormats = GetDoc()->GetSpzFrameFormats(); for( SwFrameFormats::size_type n = 0, nEnd = pFormats->size(); n < nEnd; ++n ) diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index f3ef4c28dbee..3e312f10c82e 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -3244,7 +3244,7 @@ void DocumentContentOperationsManager::CopyFlyInFlyImpl( continue; //frames at the last source node are not always copied: //- if the node is empty and is the last node of the document or a table cell - // or a text frame then tey have to be copied + // or a text frame then they have to be copied //- if the content index in this node is > 0 then paragph and frame bound objects are copied //- to-character bound objects are copied if their index is <= nEndContentIndex bool bAdd = false; diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx index fa2d31e8794c..0622b4797d79 100644 --- a/sw/source/core/doc/htmltbl.cxx +++ b/sw/source/core/doc/htmltbl.cxx @@ -734,7 +734,7 @@ void SwHTMLTableLayout::AutoLayoutPass1() // >= min min = min min = width // max = width max = width - // >= absmin min = wdith(*) min = width + // >= absmin min = width(*) min = width // max = width max = width // < absmin min = absmin min = absmin diff --git a/sw/source/core/doc/lineinfo.cxx b/sw/source/core/doc/lineinfo.cxx index c4f5cbb22a30..920a6d6d9260 100644 --- a/sw/source/core/doc/lineinfo.cxx +++ b/sw/source/core/doc/lineinfo.cxx @@ -38,7 +38,7 @@ void SwDoc::SetLineNumberInfo( const SwLineNumberInfo &rNew ) std::set<SwRootFrm*> aAllLayouts = GetAllLayouts(); pTmpRoot->StartAllAction(); // FME 2007-08-14 #i80120# Invalidate size, because ChgThisLines() - // is only (onny may only be) called by the formatting routines + // is only (and may only be) called by the formatting routines //pTmpRoot->InvalidateAllContent( INV_LINENUM | INV_SIZE ); std::for_each( aAllLayouts.begin(), aAllLayouts.end(),std::bind2nd(std::mem_fun(&SwRootFrm::InvalidateAllContent), INV_LINENUM | INV_SIZE)); pTmpRoot->EndAllAction(); diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index e2c35db5395e..f3ff0cd14071 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -715,7 +715,7 @@ bool paintUsingPrimitivesHelper( if(!basegfx::fTools::equalZero(rTargetRange.getWidth()) && !basegfx::fTools::equalZero(rTargetRange.getHeight())) { // map graphic range to target range. This will e.g. automatically include - // tme mapping from 1/100th mm content to twips if needed when the target + // the mapping from 1/100th mm content to twips if needed when the target // range is defined in twips const basegfx::B2DHomMatrix aMappingTransform( basegfx::tools::createSourceRangeTargetRangeTransform( diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index 9419d2707c12..089890d63479 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -2820,7 +2820,7 @@ static bool lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam, // The position comparison's result // POS_BEFORE, // Box comes before // POS_BEHIND, // Box comes after -// POS_INSIDE, // Box is completely wthin start/end +// POS_INSIDE, // Box is completely within start/end // POS_OUTSIDE, // Box overlaps start/end completely // POS_EQUAL, // Box and start/end are the same // POS_OVERLAP_BEFORE, // Box overlapps the start @@ -3356,7 +3356,7 @@ static _FndBox* lcl_SaveInsDelData( CR_SetBoxWidth& rParam, SwUndo** ppUndo, // Find Lines for the Layout update pFndBox->DelFrms( rTable ); - // TL_CHART2: this function gest called from SetColWidth exclusively, + // TL_CHART2: this function get called from SetColWidth exclusively, // thus it is currently speculated that nothing needs to be done here. // Note: that SetColWidth is currently not completely understood though :-( diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index c2e920b7791b..52ec387a4d14 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -711,7 +711,7 @@ void SwSectionFormat::DelFrms() if( pIdx ) { // Send Hint for PageDesc. Actually the Layout contained in the - // Paste of the Framei tself would need to do this. But that leads + // Paste of the Frame itself would need to do this. But that leads // to subsequent errors, which we'd need to solve at run-time. SwNodeIndex aNextNd( *pIdx ); SwContentNode* pCNd = GetDoc()->GetNodes().GoNextSection( &aNextNd, true, false ); diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index c3f82833da66..a40f38d68898 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -761,7 +761,7 @@ sal_uInt16 SwAutoFormat::GetDigitLevel( const SwTextNode& rNd, sal_Int32& rPos, else if( pNumTypes && !(eScan & DIGIT) ) *pNumTypes += OUStringLiteral1<'0' + SVX_NUM_ARABIC>(); - eScan &= ~DELIM; // remvoe Delim + eScan &= ~DELIM; // remove Delim if( 0 != (eScan & ~CHG) && DIGIT != (eScan & ~CHG)) return USHRT_MAX; diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index f2e55e34ac2c..94ffa386e0bb 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -753,7 +753,7 @@ void SwGrfNode::ReleaseLink() // information about the original data. Only when this is given will // SvXMLGraphicHelper::ImplInsertGraphicURL which is used at export use that type // and use the original graphic at export for the ODF, without evtl. recoding - // of trhe bitmap graphic data to something without loss (e.g. PNG) but bigger + // of the bitmap graphic data to something without loss (e.g. PNG) but bigger if(bHasOriginalData) { // #i15508# if we have the original data at the Graphic, let it survive diff --git a/sw/source/core/inc/dview.hxx b/sw/source/core/inc/dview.hxx index bce6d1867dcf..aae273697353 100644 --- a/sw/source/core/inc/dview.hxx +++ b/sw/source/core/inc/dview.hxx @@ -87,7 +87,7 @@ public: virtual void MarkListHasChanged() SAL_OVERRIDE; // #i7672# - // Override to resue edit background color in active text edit view (OutlinerView) + // Override to reuse edit background color in active text edit view (OutlinerView) virtual void ModelHasChanged() SAL_OVERRIDE; virtual void ObjOrderChanged( SdrObject* pObj, sal_uLong nOldPos, diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 7a17a69de85d..11bf2b1c6ca5 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -848,8 +848,8 @@ public: inline sal_uInt32 GetFrmId() const { return mnFrmId; } static inline sal_uInt32 GetLastFrmId() { return mnLastFrmId; } - // NEW TABELS - // Some functions for covered/covering table cells. This way unnessessary + // NEW TABLES + // Some functions for covered/covering table cells. This way unnecessary // includes can be avoided bool IsLeaveUpperAllowed() const; bool IsCoveredCell() const; diff --git a/sw/source/core/inc/layouter.hxx b/sw/source/core/inc/layouter.hxx index 8fd42289273b..2c343b239374 100644 --- a/sw/source/core/inc/layouter.hxx +++ b/sw/source/core/inc/layouter.hxx @@ -115,7 +115,7 @@ public: static bool FrmMovedFwdByObjPos( const SwDoc& _rDoc, const SwTextFrm& _rTextFrm, sal_uInt32& _ornToPageNum ); - // --> #i40155# - ummark given frame as to be moved forward. + // --> #i40155# - unmark given frame as to be moved forward. static void RemoveMovedFwdFrm( const SwDoc& _rDoc, const SwTextFrm& _rTextFrm ); // --> #i26945# diff --git a/sw/source/core/layout/softpagebreak.cxx b/sw/source/core/layout/softpagebreak.cxx index dcf25b321b21..28049b2ebbd5 100644 --- a/sw/source/core/layout/softpagebreak.cxx +++ b/sw/source/core/layout/softpagebreak.cxx @@ -70,7 +70,7 @@ void SwTextNode::fillSoftPageBreakList( SwSoftPageBreakList& rBreak ) const // Now we have the row which causes a new page, // this row is a follow flow line and therefore cannot get // the soft page break itself. - // Every first content frame of every cell frane in this row + // Every first content frame of every cell frame in this row // will get the soft page break const SwFrm* pCell = pRow->Lower(); while( pCell ) diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 4399799f77f4..bd2b6315cba4 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -2765,7 +2765,7 @@ void SwTabFrm::Format( vcl::RenderContext* /*pRenderContext*/, const SwBorderAtt // - Consider left indent given by left line attributes. // - Consider negative left indent. // wished left indent determined by wished table width and - // right offset given by surrounding fyl frames on the right: + // right offset given by surrounding fly frames on the right: const SwTwips nWishLeft = nMax - nWishedTableWidth - nRightOffset; if ( nLeftOffset > 0 ) { @@ -5313,7 +5313,7 @@ SwTwips SwTabFrm::CalcHeightOfFirstContentLine() const // actually is determined by a lower cell with rowspan = -1. In this case we should not // just return the height of the first line. Basically we need to get the height of the // line as it would be on the last page. Since this is quite complicated to calculate, - // we olny calculate the height of the first line. + // we only calculate the height of the first line. if ( pFirstRow->GetPrev() && static_cast<SwRowFrm*>(pFirstRow->GetPrev())->IsRowSpanLine() ) { diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx index 155e02b23d3d..6853c1afe1f6 100644 --- a/sw/source/core/text/atrstck.cxx +++ b/sw/source/core/text/atrstck.cxx @@ -628,7 +628,7 @@ void SwAttrHandler::ActivateTop( SwFont& rFnt, const sal_uInt16 nAttr ) } /** - * When popping an attribute from the stack, the top mose remaining + * When popping an attribute from the stack, the top more remaining * attribute in the stack becomes valid. The following function change * a font depending on the stack id. */ diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx index 3201e7f92f92..3315f8bfd65b 100644 --- a/sw/source/core/text/itratr.cxx +++ b/sw/source/core/text/itratr.cxx @@ -205,7 +205,7 @@ void SwAttrIter::SeekFwd( const sal_Int32 nNewPos ) while ( ( nEndIndex < pHints->GetEndCount() ) && (*(pTextAttr=pHints->GetEnd(nEndIndex))->GetAnyEnd()<=nNewPos)) { - // Close the TextAttributes, whoes StartPos were before or at + // Close the TextAttributes, whose StartPos were before or at // the old nPos and are currently open if (pTextAttr->GetStart() <= nPos) Rst( pTextAttr ); nEndIndex++; diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx index bc359f974994..b2368da36480 100644 --- a/sw/source/core/text/itrform2.cxx +++ b/sw/source/core/text/itrform2.cxx @@ -273,7 +273,7 @@ SwLinePortion *SwTextFormatter::Underflow( SwTextFormatInfo &rInf ) // The SwLineLayout is an exception to this, which splits at the first // portion change. - // Here inly the other way around: + // Here only the other way around: if( rInf.GetLast() == pCurr ) { if( pPor->InTextGrp() && !pPor->InExpGrp() ) @@ -304,7 +304,7 @@ void SwTextFormatter::InsertPortion( SwTextFormatInfo &rInf, SwLinePortion *pPor ) const { // The new portion is inserted, but everything's different for - // LineLayout ... + // LineLayout... if( pPor == pCurr ) { if ( pCurr->GetPortion() ) @@ -2748,7 +2748,7 @@ namespace { SwRect aRect; // Note: GetChareRect is not const. It definitely changes the - // bMulti flag. We have to save and resore the old value. + // bMulti flag. We have to save and restore the old value. bool bOldMulti = txtFormatInfo.IsMulti(); rThis.GetCharRect( &aRect, nReformat ); txtFormatInfo.SetMulti( bOldMulti ); diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx index 104dea7e9716..ed4a48296527 100644 --- a/sw/source/core/text/itrform2.hxx +++ b/sw/source/core/text/itrform2.hxx @@ -68,7 +68,7 @@ class SwTextFormatter : public SwTextPainter SwTextPortion *WhichTextPor( SwTextFormatInfo &rInf ) const; SwExpandPortion * TryNewNoLengthPortion( SwTextFormatInfo & rInfo ); - // The center pice of formatting + // The center piece of formatting void BuildPortions( SwTextFormatInfo &rInf ); bool BuildMultiPortion( SwTextFormatInfo &rInf, SwMultiPortion& rMulti ); diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx index 4e41c32cde8e..894c033ca1fb 100644 --- a/sw/source/core/text/porlay.cxx +++ b/sw/source/core/text/porlay.cxx @@ -768,7 +768,7 @@ void SwScriptInfo::InitScriptInfo( const SwTextNode& rNode, bool bRTL ) if( WEAK == g_pBreakIt->GetBreakIter()->getScriptType( rText, nChg ) ) { // If the beginning of the current group is weak, this means that - // all of the characters in this grounp are weak. We have to assign + // all of the characters in this group are weak. We have to assign // the scripts to these characters depending on the fonts which are // set for these characters to display them. sal_Int32 nEnd = diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index 2aa82024bb69..4f458bde1653 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -983,7 +983,7 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf ) // almost the same as getting the offset for the first character: // punctuation characters are not centered, so just add half an // average character width minus the characters actual char width - // to get the offset intot the centre of the next character + // to get the offset into the centre of the next character cChar = rInf.GetText()[ rInf.GetIdx() + j ]; nType = lcl_WhichPunctuation( cChar ); diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index 669ab940d155..2b8c0f5a1040 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -445,7 +445,7 @@ SwpHints::TryInsertNesting( SwTextNode & rNode, SwTextAttrNesting & rNewHint ) // that hint would also have already split any hint in OverlappingExisting // so any hint in OverlappingExisting can be split at most by one hint // in SplitNew, or even not at all (this is not true for existing hints - // that go _around_ new hint, which is the raison d'^etre for pass 4) + // that go _around_ new hint, which is the reason d'^etre for pass 4) for (NestList_t::iterator itOther = OverlappingExisting.begin(); itOther != OverlappingExisting.end(); ++itOther) { diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index e1fe9c190a87..925088d1f674 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -2448,7 +2448,7 @@ bool SwChartDataSequence::DeleteBox( const SwTableBox &rBox ) // to be set if the last box of the data-sequence was removed here bool bNowEmpty = false; - // if the implementation cursor gets affected (i.e. thew box where it is located + // if the implementation cursor gets affected (i.e. the box where it is located // in gets removed) we need to move it before that... (otherwise it does not need to change) const SwStartNode* pPointStartNode = pTableCrsr->GetPoint()->nNode.GetNode().FindTableBoxStartNode(); diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index 22980fe6e4ad..06080e3d05fb 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -409,7 +409,7 @@ uno::Sequence< uno::Any > SAL_CALL SwXTextPortion::GetPropertyValues_Impl( { SfxItemSet *pSet = 0; - // get startting pount fo the look-up, either the provided one or else + // get starting point for the look-up, either the provided one or else // from the beginning of the map const SfxItemPropertyMap& rMap = m_pPropSet->getPropertyMap(); for(sal_Int32 nProp = 0; nProp < nLength; nProp++) diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx index a2c98a853174..5f13e3cee827 100644 --- a/sw/source/core/view/pagepreviewlayout.cxx +++ b/sw/source/core/view/pagepreviewlayout.cxx @@ -1268,7 +1268,7 @@ void SwPagePreviewLayout::MarkNewSelectedPage( const sal_uInt16 _nSelectedPage ) const sal_uInt16 nOldSelectedPageNum = mnSelectedPageNum; mnSelectedPageNum = _nSelectedPage; - // re-paint for current selected page in order to umark it. + // re-paint for current selected page in order to unmark it. const PreviewPage* pOldSelectedPreviewPage = _GetPreviewPageByPageNum( nOldSelectedPageNum ); if ( pOldSelectedPreviewPage && pOldSelectedPreviewPage->bVisible ) { diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index a43a7f60e38f..98b78c36cbc3 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -194,7 +194,7 @@ sal_uLong SwASCIIParser::CallParser() // to export the pool defaults (or to be more precise: // the HTML filter is not able to detect whether a pool // default has changed or not. Even a comparison with the - // HTMLi template does not work, because the defaults are + // HTML template does not work, because the defaults are // not copied when a new doc is created. The result of // comparing pool defaults therefore would be that the // defaults are exported always if the have changed for diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index 6719a3e02458..489c617afcf9 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -1109,7 +1109,7 @@ class HTMLEndPosLst std::deque<sal_Int32> aScriptChgLst; // positions where script changes // 0 is not contained in this list, // but the text length - // the script that is valif up to the position + // the script that is valid up to the position // contained in aScriptChgList at the same index ::std::vector<sal_uInt16> aScriptLst; diff --git a/sw/source/filter/html/htmlforw.cxx b/sw/source/filter/html/htmlforw.cxx index 7d5a9aa667b0..0efb13096355 100644 --- a/sw/source/filter/html/htmlforw.cxx +++ b/sw/source/filter/html/htmlforw.cxx @@ -313,7 +313,7 @@ void SwHTMLWriter::OutForm( bool bTag_On, const SwStartNode *pStartNd ) if( !xNewFormComps.is() && xCurrentFormComps.is() && nCurrentCtrls != xCurrentFormComps->getCount() ) { - // In der Tablle/dem Bereich sollte eine Form aufgemacht werden, + // In der Table/dem Bereich sollte eine Form aufgemacht werden, // die nicht vollstaendig in der Tabelle liegt. Dan muessen // wie die Form jetzt ebenfalls oeffen. xNewFormComps = xCurrentFormComps; diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 603a603d5cc7..ad777300c35f 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -3982,7 +3982,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions, } else if( pCapStNd ) { - // Da wir diese Sction nicht mehr loeschen + // Da wir diese Section nicht mehr loeschen // koennen (sie koeente zur erster Box // gehoeren), fuegen wir sie ein. pSaveStruct->AddContents( diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 0e54efd42de4..ea608781a3f4 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -4917,8 +4917,8 @@ void DocxAttributeOutput::OutputFlyFrame_Impl( const sw::Frame &rFrame, const Po m_bPostponedProcessingFly = false ; } - // IsAlternateContentChoiceOpen() : check is to ensure that only one object is getting added. Without this check, plus one obejct gets added - // m_bParagraphFrameOpen : Check if the frame is open. + // IsAlternateContentChoiceOpen(): check is to ensure that only one object is getting added. Without this check, plus one object gets added + // m_bParagraphFrameOpen: check if the frame is open. else if (IsAlternateContentChoiceOpen() && m_bParagraphFrameOpen) m_pPostponedCustomShape->push_back(PostponedDrawing(pSdrObj, &(rFrame.GetFrameFormat()), &rNdTopLeft)); else diff --git a/sw/source/filter/ww8/needed_cast.hxx b/sw/source/filter/ww8/needed_cast.hxx index 992793200049..2280f778740a 100644 --- a/sw/source/filter/ww8/needed_cast.hxx +++ b/sw/source/filter/ww8/needed_cast.hxx @@ -44,7 +44,7 @@ namespace ww { /* Massage a single argument and a ret value into two arguments to allow - a determination if the dest type is the same as the sourct type + a determination if the dest type is the same as the source type */ return checking_cast(in, Ret()); } diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index a5efd2eaedb3..c95e1abbafa6 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -1559,7 +1559,7 @@ void WW8Export::WriteAsStringTable(const std::vector<OUString>& rStrings, } } -// WriteShort() traegt an FilePos nPos den Wert nVal ein und seekt auf die +// WriteShort() target an FilePos nPos den Wert nVal ein und seekt auf die // alte FilePos zurueck. Benutzt zum Nachtragen von Laengen. void SwWW8Writer::WriteShort( SvStream& rStrm, sal_uLong nPos, sal_Int16 nVal ) { diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 8264647eccba..5a5f243d4dbd 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -2135,7 +2135,7 @@ void AttributeOutputBase::StartTOX( const SwSection& rSect ) //\t option if( nMaxMSAutoEvaluate < nTOXLvl ) { - // collect this templates into the \t otion + // collect this templates into the \t option for( n = rColls.size(); n;) { const SwTextFormatColl* pColl = rColls[ --n ]; diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx index 6df5b319d95c..f6ab2cc5d629 100644 --- a/sw/source/filter/ww8/ww8graf2.cxx +++ b/sw/source/filter/ww8/ww8graf2.cxx @@ -121,7 +121,7 @@ sal_uLong wwZOrderer::GetEscherObjectPos( sal_uLong nSpId, sal_uInt16 nFound = GetEscherObjectIdx(nSpId); // Match the ordering position from the ShapeOrders to the ordering of all // objects in the document, there is a complexity when escherobjects - // contain inlines objects, we need to consider thsose as part of the + // contain inlines objects, we need to consider those as part of the // escher count sal_uLong nRet=0; myeiter aIter = maEscherLayer.begin(); @@ -573,7 +573,7 @@ SwFrameFormat* SwWW8ImplReader::ImportGraf(SdrTextObj* pTextObj, } //A graphic of this type in this location is always - //inline, and uses the pic in the same mould as ww6 + //inline, and uses the pic in the same module as ww6 //graphics. if (m_pWFlyPara && m_pWFlyPara->bGrafApo) { diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 8929c44432b0..25d292d86629 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -3141,7 +3141,7 @@ void WW8TabDesc::AdjustNewBand() SetTabBorders(pBox, j); // #i18128# word has only one line between adjoining vertical cells - // we have to mimick this in the filter by picking the larger of the + // we have to mimic this in the filter by picking the larger of the // sides and using that one on one side of the line (right) SvxBoxItem aCurrentBox(sw::util::ItemGet<SvxBoxItem>(*(pBox->GetFrameFormat()), RES_BOX)); const ::editeng::SvxBorderLine *pLeftLine = aCurrentBox.GetLine(SvxBoxItemLine::LEFT); diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 96ddeebd92e9..0b570d5b90a6 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -1168,7 +1168,7 @@ position of the first set before the ref. So what we will do is 1) keep a list of all bookmarks that were set, any bookmark names mentioned -here that are refed by content will be converted to show variables. +here that are referred by content will be converted to show variables. 2) create pseudo bookmarks for every position that a bookmark is set with SET or ASK but has no existing bookmark. We can then keep a map from the original diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 69bbbd57bede..6354f1b955ee 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -1031,7 +1031,7 @@ void WW8PLCFx_PCDAttrs::GetSprms(WW8PLCFxDesc* p) // ''Property Modifier(variant 1) (PRM)'' // see file: s62f39.htm - // Since isprm is 7 bits, rgsprmPrm can hold 0x80 entries. + // Since Sprm is 7 bits, rgsprmPrm can hold 0x80 entries. static const sal_uInt16 aSprmId[0x80] = { // sprmNoop, sprmNoop, sprmNoop, sprmNoop diff --git a/sw/source/filter/xml/xmlitmap.hxx b/sw/source/filter/xml/xmlitmap.hxx index 080af7076184..75deb2c67b7c 100644 --- a/sw/source/filter/xml/xmlitmap.hxx +++ b/sw/source/filter/xml/xmlitmap.hxx @@ -42,7 +42,7 @@ struct SvXMLItemMapEntry enum ::xmloff::token::XMLTokenEnum eLocalName; // the local name for the item inside // the Namespace (as an XMLTokenEnum) - sal_uInt16 nWhichId; // the WichId to identify the item + sal_uInt16 nWhichId; // the WhichId to identify the item // in the pool sal_uInt32 nMemberId; // the memberid specifies which part // of the item should be imported or diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index b16fe881f1f5..78d379105563 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -643,7 +643,7 @@ IMPL_LINK( SwOutlineSettingsTabPage, CollSelect, ListBox *, pBox ) break; if( MAXLEVEL == n ) - // it was a outline leveld name and the current entries is zero. + // it was an outline level name and the current entries is zero. pCollNames[ i ] = sOldName; } diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index 51fc70b4b056..2c23b717a878 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -65,7 +65,7 @@ SwVbaApplication::getActiveDocument() throw (uno::RuntimeException, std::excepti uno::Reference< word::XWindow > SAL_CALL SwVbaApplication::getActiveWindow() throw (uno::RuntimeException, std::exception) { - // #FIXME sofar can't determine Parent + // #FIXME so far can't determine Parent uno::Reference< frame::XModel > xModel( getCurrentDocument(), uno::UNO_SET_THROW ); uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_SET_THROW ); return new SwVbaWindow( uno::Reference< XHelperInterface >(), mxContext, xModel, xController ); diff --git a/sw/source/ui/vba/vbavariable.cxx b/sw/source/ui/vba/vbavariable.cxx index 9047bf0e2380..dbecbba76507 100644 --- a/sw/source/ui/vba/vbavariable.cxx +++ b/sw/source/ui/vba/vbavariable.cxx @@ -57,7 +57,7 @@ SwVbaVariable::getValue() throw ( css::uno::RuntimeException, std::exception ) void SAL_CALL SwVbaVariable::setValue( const uno::Any& rValue ) throw ( css::uno::RuntimeException, std::exception ) { - // FIXME: fail to set the value if the new type of vaue is differenct from the original one. + // FIXME: fail to set the value if the new type of value is different from the original one. uno::Reference< beans::XPropertySet > xProp( mxUserDefined, uno::UNO_QUERY_THROW ); xProp->setPropertyValue( maName, rValue ); } diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index fb697963a42c..206579d4b627 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -2345,7 +2345,7 @@ bool SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh, // when using internal D&Ds, still the source object is selected and // this is necessary to get the correct source data which is also // dependent from selection. After receiving the drag data it is - // now tiime to select the correct target object + // now time to select the correct target object SwTransferable::SetSelInShell( rSh, true, pPt ); } diff --git a/sw/source/uibase/inc/navmgr.hxx b/sw/source/uibase/inc/navmgr.hxx index 1c6baa98e8b8..d462cf0a7736 100644 --- a/sw/source/uibase/inc/navmgr.hxx +++ b/sw/source/uibase/inc/navmgr.hxx @@ -26,7 +26,7 @@ class SwNavigationMgr private: /* * List of entries in the navigation history - * Entries are SwUnoCrsr because thos gets corrected automatically + * Entries are SwUnoCrsr because these gets corrected automatically * when nodes are deleted. * * The navigation history behaves as a stack, to which items are added when we jump to a new position diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index 3b7a3e2fb389..6da2f8455932 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -63,7 +63,7 @@ using namespace ::com::sun::star::uno; Point SwGetChartDialogPos( const vcl::Window *pParentWin, const Size& rDialogSize, const Rectangle& rLogicChart ) { - // positioning code according to spepc; similar to Calc fuins2.cxx + // positioning code according to spec; similar to Calc fuins2.cxx Point aRet; OSL_ENSURE( pParentWin, "Window not found" ); diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx index 28fc2c920ac3..b337e96d1ffe 100644 --- a/sw/source/uibase/uiview/viewsrch.cxx +++ b/sw/source/uibase/uiview/viewsrch.cxx @@ -660,7 +660,7 @@ void SwView::Replace() m_pSrchItem->SetCommand( SvxSearchCmd::FIND ); m_pSrchItem->SetSelection(true); - //check if it matchs + //check if it matches SwSearchOptions aOpts( m_pWrtShell, m_pSrchItem->GetBackward() ); if( ! FUNC_Search(aOpts) ) { diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index f075de555502..a0349962a3df 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -446,7 +446,7 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, bool ) default: bMoveCrsr = false; break; } - SwCrsrShell::Pop( false ); // retore the saved cursor + SwCrsrShell::Pop( false ); // restore the saved cursor if( bMoveCrsr ) { |