summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:25:58 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 16:29:58 -0500
commit1aed47cc7d09844cbf3efa95c1d09c669baabb27 (patch)
treed7c1774af62fd6c6d38cde08c3da3b0c8a3d65cb /sw
parentc21e359e3b64cf51541275ed6527141d407c6957 (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> (cherry picked from commit 462e986e0dbd533b3a15696555e08489963c9542)
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/doc.hxx6
-rw-r--r--sw/inc/editsh.hxx2
-rw-r--r--sw/inc/fesh.hxx2
-rw-r--r--sw/inc/ndtxt.hxx2
-rw-r--r--sw/qa/core/uwriter.cxx2
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx2
-rw-r--r--sw/source/core/access/acccontext.hxx4
-rw-r--r--sw/source/core/crsr/crstrvl.cxx2
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx2
-rw-r--r--sw/source/core/doc/htmltbl.cxx2
-rw-r--r--sw/source/core/doc/lineinfo.cxx2
-rw-r--r--sw/source/core/doc/notxtfrm.cxx2
-rw-r--r--sw/source/core/doc/tblrwcl.cxx4
-rw-r--r--sw/source/core/docnode/section.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx2
-rw-r--r--sw/source/core/graphic/ndgrf.cxx2
-rw-r--r--sw/source/core/inc/dview.hxx2
-rw-r--r--sw/source/core/inc/frame.hxx4
-rw-r--r--sw/source/core/inc/layouter.hxx2
-rw-r--r--sw/source/core/layout/softpagebreak.cxx2
-rw-r--r--sw/source/core/layout/tabfrm.cxx4
-rw-r--r--sw/source/core/text/atrstck.cxx2
-rw-r--r--sw/source/core/text/itratr.cxx2
-rw-r--r--sw/source/core/text/itrform2.cxx6
-rw-r--r--sw/source/core/text/itrform2.hxx2
-rw-r--r--sw/source/core/text/porlay.cxx2
-rw-r--r--sw/source/core/txtnode/fntcache.cxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/core/unocore/unoport.cxx2
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
-rw-r--r--sw/source/filter/ascii/parasc.cxx2
-rw-r--r--sw/source/filter/html/htmlatr.cxx2
-rw-r--r--sw/source/filter/html/htmlforw.cxx2
-rw-r--r--sw/source/filter/html/htmltab.cxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx4
-rw-r--r--sw/source/filter/ww8/needed_cast.hxx2
-rw-r--r--sw/source/filter/ww8/wrtww8.cxx2
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx4
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx2
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx2
-rw-r--r--sw/source/filter/xml/xmlitmap.hxx2
-rw-r--r--sw/source/ui/misc/outline.cxx2
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx2
-rw-r--r--sw/source/ui/vba/vbavariable.cxx2
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx2
-rw-r--r--sw/source/uibase/inc/navmgr.hxx2
-rw-r--r--sw/source/uibase/table/chartins.cxx2
-rw-r--r--sw/source/uibase/uiview/viewsrch.cxx2
-rw-r--r--sw/source/uibase/wrtsh/select.cxx2
52 files changed, 62 insertions, 62 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 77a045880e3b..4b43b372405e 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -261,7 +261,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
@@ -461,7 +461,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; }
@@ -1291,7 +1291,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 6a7d718b5ce4..e051e55dca65 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 b3bbfcda8aa9..5c31c9f981b2 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -283,7 +283,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 87abad951071..85ad43475926 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -426,7 +426,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 072e12d6a049..dcecdc1adf70 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -884,7 +884,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 d4190e873bff..0b56c1a30d6b 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 6f76b41cdc7d..a57f2112534b 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -3268,7 +3268,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 e50c7d166aab..2c8c2e0160a5 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -737,7 +737,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 578b5767c8a6..a320d59431d6 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 d943e6dffeca..f0d00de8c4bc 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 12c24a55b88f..03aaa22b3348 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -2818,7 +2818,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
@@ -3354,7 +3354,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 ffc6bc876b54..ae7febcc18e2 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 58d13f453b94..0d4c5a5f9efe 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 += OUString((sal_Unicode)('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 dbbe3793d31d..789e96d8c8a0 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -755,7 +755,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 4f80e080b33c..b785f53bbce6 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 28f8febee681..3cdc34197b3f 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 0cfa882be376..03a7c9d2c767 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 c7afcaf5930a..a594e55daf53 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 b159121ddf38..de18ac767898 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -990,7 +990,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 2ba0b55a102a..4bae4d4aff69 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 429a4a53d05a..7d5e7a180702 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2501,7 +2501,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 d4a4f929a3ce..22f24583029e 100644
--- a/sw/source/core/unocore/unoport.cxx
+++ b/sw/source/core/unocore/unoport.cxx
@@ -420,7 +420,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 a1c820de9101..24ace1894a87 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -1290,7 +1290,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 );
OutputDevice* pOutputDev = mrParentViewShell.GetOut();
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 abf91057c4c2..013c7ee3391f 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -1108,7 +1108,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 d7444f36c85b..5af537e977f6 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -3980,7 +3980,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 1aa7a165bbcc..80475fdbfae1 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -4876,8 +4876,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 b544485a240f..b1cd7b523314 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -1602,7 +1602,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 78290a9fa957..a8c77ef4dfd4 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2314,7 +2314,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 e06a210663b2..57c208898c0d 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 66baa458910c..db754b8009b4 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3150,7 +3150,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 9ad0d7328a6b..df13384a4d81 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 a69522bcddaa..b45112aa228c 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -1033,7 +1033,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 3a3ab7614733..b812376b1a0b 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 8b790267d7f7..57f74bb2f0d9 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 c33ee35eb3a7..3cdd71dc1857 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -2348,7 +2348,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 5e33371fb539..6a59a3403403 100644
--- a/sw/source/uibase/inc/navmgr.hxx
+++ b/sw/source/uibase/inc/navmgr.hxx
@@ -24,7 +24,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 f3f30ce7af7f..3c7cb7cb471a 100644
--- a/sw/source/uibase/uiview/viewsrch.cxx
+++ b/sw/source/uibase/uiview/viewsrch.cxx
@@ -737,7 +737,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 )
{