[Libreoffice-commits] core.git: sw/inc sw/qa sw/source toolkit/source ucb/qa ucb/source udkapi/com UnoControls/source unoxml/source vbahelper/source vcl/generic vcl/inc vcl/osx vcl/source vcl/unx vcl/win
Andrea Gelmini
andrea.gelmini at gelma.net
Sat Jul 4 03:18:50 PDT 2015
UnoControls/source/base/basecontainercontrol.cxx | 6 +++---
sw/inc/doc.hxx | 6 +++---
sw/inc/editsh.hxx | 2 +-
sw/inc/fesh.hxx | 2 +-
sw/inc/ndtxt.hxx | 2 +-
sw/qa/core/uwriter.cxx | 2 +-
sw/qa/extras/ooxmlexport/ooxmlfieldexport.cxx | 2 +-
sw/source/core/access/acccontext.hxx | 4 ++--
sw/source/core/crsr/crstrvl.cxx | 2 +-
sw/source/core/doc/DocumentContentOperationsManager.cxx | 2 +-
sw/source/core/doc/htmltbl.cxx | 2 +-
sw/source/core/doc/lineinfo.cxx | 2 +-
sw/source/core/doc/notxtfrm.cxx | 2 +-
sw/source/core/doc/tblrwcl.cxx | 4 ++--
sw/source/core/docnode/section.cxx | 2 +-
sw/source/core/edit/autofmt.cxx | 2 +-
sw/source/core/graphic/ndgrf.cxx | 2 +-
sw/source/core/inc/dview.hxx | 2 +-
sw/source/core/inc/frame.hxx | 4 ++--
sw/source/core/inc/layouter.hxx | 2 +-
sw/source/core/layout/softpagebreak.cxx | 2 +-
sw/source/core/layout/tabfrm.cxx | 4 ++--
sw/source/core/text/atrstck.cxx | 2 +-
sw/source/core/text/itratr.cxx | 2 +-
sw/source/core/text/itrform2.cxx | 6 +++---
sw/source/core/text/itrform2.hxx | 2 +-
sw/source/core/text/porlay.cxx | 2 +-
sw/source/core/txtnode/fntcache.cxx | 2 +-
sw/source/core/txtnode/thints.cxx | 2 +-
sw/source/core/unocore/unochart.cxx | 2 +-
sw/source/core/unocore/unoport.cxx | 2 +-
sw/source/core/view/pagepreviewlayout.cxx | 2 +-
sw/source/filter/ascii/parasc.cxx | 2 +-
sw/source/filter/html/htmlatr.cxx | 2 +-
sw/source/filter/html/htmlforw.cxx | 2 +-
sw/source/filter/html/htmltab.cxx | 2 +-
sw/source/filter/ww8/docxattributeoutput.cxx | 4 ++--
sw/source/filter/ww8/needed_cast.hxx | 2 +-
sw/source/filter/ww8/wrtww8.cxx | 2 +-
sw/source/filter/ww8/ww8atr.cxx | 2 +-
sw/source/filter/ww8/ww8graf2.cxx | 4 ++--
sw/source/filter/ww8/ww8par2.cxx | 2 +-
sw/source/filter/ww8/ww8par5.cxx | 2 +-
sw/source/filter/ww8/ww8scan.cxx | 2 +-
sw/source/filter/xml/xmlitmap.hxx | 2 +-
sw/source/ui/misc/outline.cxx | 2 +-
sw/source/ui/vba/vbaapplication.cxx | 2 +-
sw/source/ui/vba/vbavariable.cxx | 2 +-
sw/source/uibase/dochdl/swdtflvr.cxx | 2 +-
sw/source/uibase/inc/navmgr.hxx | 2 +-
sw/source/uibase/table/chartins.cxx | 2 +-
sw/source/uibase/uiview/viewsrch.cxx | 2 +-
sw/source/uibase/wrtsh/select.cxx | 2 +-
toolkit/source/controls/accessiblecontrolcontext.cxx | 2 +-
toolkit/source/controls/controlmodelcontainerbase.cxx | 2 +-
ucb/qa/complex/tdoc/_XCommandProcessor.java | 2 +-
ucb/source/cacher/cacheddynamicresultset.cxx | 2 +-
ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx | 2 +-
udkapi/com/sun/star/io/XAsyncOutputMonitor.idl | 2 +-
udkapi/com/sun/star/uri/UriReferenceFactory.idl | 2 +-
unoxml/source/dom/element.cxx | 2 +-
vbahelper/source/msforms/vbacontrol.hxx | 2 +-
vbahelper/source/msforms/vbatextbox.cxx | 2 +-
vbahelper/source/vbahelper/vbashape.cxx | 2 +-
vcl/generic/print/glyphset.cxx | 2 +-
vcl/inc/PhysicalFontCollection.hxx | 2 +-
vcl/inc/impimagetree.hxx | 4 ++--
vcl/inc/quartz/common.h | 2 +-
vcl/inc/unx/salframe.h | 2 +-
vcl/inc/win/salgdi.h | 2 +-
vcl/osx/salinst.cxx | 2 +-
vcl/osx/salnativewidgets.cxx | 2 +-
vcl/source/control/edit.cxx | 2 +-
vcl/source/filter/wmf/wmfwr.cxx | 2 +-
vcl/source/font/PhysicalFontCollection.cxx | 2 +-
vcl/source/fontsubset/cff.cxx | 2 +-
vcl/source/fontsubset/ttcr.cxx | 2 +-
vcl/source/gdi/print.cxx | 2 +-
vcl/source/opengl/OpenGLContext.cxx | 2 +-
vcl/source/outdev/bitmap.cxx | 2 +-
vcl/source/outdev/polyline.cxx | 2 +-
vcl/source/outdev/text.cxx | 2 +-
vcl/source/window/brdwin.cxx | 2 +-
vcl/source/window/window.cxx | 2 +-
vcl/unx/generic/app/i18n_ic.cxx | 4 ++--
vcl/win/source/gdi/gdiimpl.cxx | 2 +-
86 files changed, 100 insertions(+), 100 deletions(-)
New commits:
commit 462e986e0dbd533b3a15696555e08489963c9542
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Thu Jul 2 18:25:58 2015 +0200
Fix typos
Change-Id: Id9296115f30858e7fd470a199e59343a96d7deec
Reviewed-on: https://gerrit.libreoffice.org/16712
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt at gmail.com>
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 006a7b6..e85e4a5 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -401,9 +401,9 @@ void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( Runt
WindowDescriptor* BaseContainerControl::impl_getWindowDescriptor ( const Reference< XWindowPeer > & rParentPeer )
{
- // - used from "createPeer()" to set the values of an WindowDescriptor !!!
- // - if you will change the descriptor-values, you must override thid virtuell function
- // - the caller must release the memory for this dynamical descriptor !!!
+ // - used from "createPeer()" to set the values of an WindowDescriptor!!!
+ // - if you will change the descriptor-values, you must override this virtual function
+ // - the caller must release the memory for this dynamical descriptor!!!
WindowDescriptor * aDescriptor = new WindowDescriptor;
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 656ebb5..e34a77d 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 67bc53f..aa8118b 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 c3e5683..fa2ff51 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 94ffd6a..50ada08 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 b74dbea..70061eb 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 102c1a5..29bcbe1 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 4e620d6..1c96ee6 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 721d755..c861888 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 f3ef4c2..3e312f1 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 fa2d31e..0622b47 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 c4f5cbb..920a6d6 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 e2c35db..f3ff0cd 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 9419d27..089890d 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 c2e920b..52ec387 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 c3f8283..a40f38d 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 f2e55e3..94ffa38 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 bce6d18..aae2736 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 7a17a69..11bf2b1 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 8fd4228..2c343b2 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 dcf25b3..28049b2 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 4399799..bd2b631 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 155e02b..6853c1a 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 3201e7f..3315f8b 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 bc359f9..b2368da 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 104dea7..ed4a482 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 4e41c32..894c033 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 2aa8202..4f458bd 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 669ab94..2b8c0f5 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 e1fe9c1..925088d 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 22980fe..06080e3 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 a2c98a8..5f13e3ce 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 a43a7f6..98b78c3 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 6719a3e..489c617 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 7d5a9aa..0efb130 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 603a603d..ad77730 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 0e54efd..ea60878 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 9927932..2280f77 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 a5efd2e..c95e1ab 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 8264647..5a5f243 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 6df5b31..f6ab2cc 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 8929c44..25d292d 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 96ddeeb..0b570d5 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 69bbbd5..6354f1b 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 080af70..75deb2c 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 b16fe88..78d3791 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 51fc70b..2c23b71 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 9047bf0..dbecbba 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 fb69796..206579d 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 1c6baa9..d462cf0 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 3b7a3e2..6da2f84 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 28fc2c9..b337e96 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 f075de5..a034996 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 )
{
diff --git a/toolkit/source/controls/accessiblecontrolcontext.cxx b/toolkit/source/controls/accessiblecontrolcontext.cxx
index bf8f380..069742a 100644
--- a/toolkit/source/controls/accessiblecontrolcontext.cxx
+++ b/toolkit/source/controls/accessiblecontrolcontext.cxx
@@ -275,7 +275,7 @@ namespace toolkit
if ( pVCLWindow )
aWindowRelativePos = pVCLWindow->GetPosPixel();
- // the screnn position of the "window parent" of the control
+ // the screen position of the "window parent" of the control
::Point aVCLParentScreenPos( 0, 0 );
if ( pVCLParent )
aVCLParentScreenPos = pVCLParent->GetPosPixel();
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index a7eff04..d9c48e1 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -949,7 +949,7 @@ void ControlModelContainerBase::implUpdateGroupStructure()
maGroups.reserve( aControlModels.getLength() );
GroupingMachineState eState = eLookingForGroup; // the current state of our machine
- Reference< XServiceInfo > xModelSI; // for checking for a radion button
+ Reference< XServiceInfo > xModelSI; // for checking for a radio button
AllGroups::iterator aCurrentGroup = maGroups.end(); // the group which we're currently building
sal_Int32 nCurrentGroupStep = -1; // the step which all controls of the current group belong to
bool bIsRadioButton; // is it a radio button?
diff --git a/ucb/qa/complex/tdoc/_XCommandProcessor.java b/ucb/qa/complex/tdoc/_XCommandProcessor.java
index 163e2b2..a7fd176 100644
--- a/ucb/qa/complex/tdoc/_XCommandProcessor.java
+++ b/ucb/qa/complex/tdoc/_XCommandProcessor.java
@@ -177,7 +177,7 @@ public class _XCommandProcessor {
* The following method tests are to be completed successfully before :
* <ul>
* <li> <code> createCommandIdentifier() </code> : to have a unique
- * identifier which is used to abourt started command. </li>
+ * identifier which is used to abort started command. </li>
* </ul>
*/
public boolean _abort() {
diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx
index fd6d93c..1cf3da6 100644
--- a/ucb/source/cacher/cacheddynamicresultset.cxx
+++ b/ucb/source/cacher/cacheddynamicresultset.cxx
@@ -124,7 +124,7 @@ XSERVICEINFO_NOFACTORY_IMPL_1( CachedDynamicResultSet,
CACHED_DRS_SERVICE_NAME );
-// own methds. ( inherited )
+// own methods. ( inherited )
//virtual
void SAL_CALL CachedDynamicResultSet
diff --git a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
index 8595d72..1d053d2 100644
--- a/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx
@@ -327,7 +327,7 @@ uno::Sequence< beans::Property > HierarchyContent::getProperties(
- // Currently no difference between reonly /read-write
+ // Currently no difference between read-only/read-write
// -> all props ar read-only
static const beans::Property aRootFolderPropertyInfoTable[] =
diff --git a/udkapi/com/sun/star/io/XAsyncOutputMonitor.idl b/udkapi/com/sun/star/io/XAsyncOutputMonitor.idl
index f30bc49..2ec77f4 100644
--- a/udkapi/com/sun/star/io/XAsyncOutputMonitor.idl
+++ b/udkapi/com/sun/star/io/XAsyncOutputMonitor.idl
@@ -65,7 +65,7 @@ interface XAsyncOutputMonitor {
blocks long enough so that any errors encountered during previous calls
to com::sun::star::io::XOutputStream::writeBytes()
can reliably be reported. It specificially does not guarantee that any
- data have savely been stored on a stable physical medium, like a hard
+ data have safely been stored on a stable physical medium, like a hard
disk (and it is completely unspecified whether <code>flush</code> should
give this guarantee).</p>
diff --git a/udkapi/com/sun/star/uri/UriReferenceFactory.idl b/udkapi/com/sun/star/uri/UriReferenceFactory.idl
index d6b3984..cddc9cf 100644
--- a/udkapi/com/sun/star/uri/UriReferenceFactory.idl
+++ b/udkapi/com/sun/star/uri/UriReferenceFactory.idl
@@ -47,7 +47,7 @@ published interface XUriReferenceFactory;
“<code>+</code>”, “<code>-</code>”, and
“<code>.</code>”. A scheme <var>s</var> is transformed into
a string <var>s</var>′ character-by-character, by translating
- Lating capital letters to their small counterparts, translating
+ Latin capital letters to their small counterparts, translating
“<code>+</code>” to “<code>PLUS</code>”,
“<code>-</code>” to “<code>HYPHEN</code>”,
“<code>.</code>” to “<code>DOT</code>”, and copying
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx
index eda6a41..ee2a25c 100644
--- a/unoxml/source/dom/element.cxx
+++ b/unoxml/source/dom/element.cxx
@@ -215,7 +215,7 @@ namespace DOM
case NodeType_ENTITY_REFERENCE_NODE:
return true;
case NodeType_ATTRIBUTE_NODE:
- /* this is not relly allowed by the DOM spec, but this
+ /* this is not really allowed by the DOM spec, but this
implementation has evidently supported it (by special case
handling, so the attribute does not actually become a child)
so allow it for backward compatibility */
diff --git a/vbahelper/source/msforms/vbacontrol.hxx b/vbahelper/source/msforms/vbacontrol.hxx
index baac836..71a7c33 100644
--- a/vbahelper/source/msforms/vbacontrol.hxx
+++ b/vbahelper/source/msforms/vbacontrol.hxx
@@ -107,7 +107,7 @@ public:
//XHelperInterface
virtual OUString getServiceImplName() SAL_OVERRIDE;
virtual css::uno::Sequence<OUString> getServiceNames() SAL_OVERRIDE;
- //General helper methods for properties (may or maynot be relevant for all
+ //General helper methods for properties (may or may not be relevant for all
//controls)
sal_Int32 getBackColor() throw (css::uno::RuntimeException);
void setBackColor( sal_Int32 nBackColor ) throw (css::uno::RuntimeException);
diff --git a/vbahelper/source/msforms/vbatextbox.cxx b/vbahelper/source/msforms/vbatextbox.cxx
index 004b9d1..36e256e 100644
--- a/vbahelper/source/msforms/vbatextbox.cxx
+++ b/vbahelper/source/msforms/vbatextbox.cxx
@@ -45,7 +45,7 @@ ScVbaTextBox::setValue( const uno::Any& _value ) throw (css::uno::RuntimeExcepti
setText( sVal );
}
-//getString() will cause some imfo lose.
+//getString() will cause some info lose.
OUString SAL_CALL
ScVbaTextBox::getText() throw (css::uno::RuntimeException, std::exception)
{
diff --git a/vbahelper/source/vbahelper/vbashape.cxx b/vbahelper/source/vbahelper/vbashape.cxx
index e505b6b..f702b91 100644
--- a/vbahelper/source/vbahelper/vbashape.cxx
+++ b/vbahelper/source/vbahelper/vbashape.cxx
@@ -326,7 +326,7 @@ ScVbaShape::setRotation( double _rotation ) throw (uno::RuntimeException, std::e
uno::Reference< msforms::XLineFormat > SAL_CALL
ScVbaShape::getLine() throw (uno::RuntimeException, std::exception)
{
- // TODO should ongly return line
+ // TODO should only return line
return uno::Reference< msforms::XLineFormat >( new ScVbaLineFormat( this, mxContext, m_xShape ) );
}
diff --git a/vcl/generic/print/glyphset.cxx b/vcl/generic/print/glyphset.cxx
index f0c4e30..cf6d289 100644
--- a/vcl/generic/print/glyphset.cxx
+++ b/vcl/generic/print/glyphset.cxx
@@ -462,7 +462,7 @@ void GlyphSet::DrawGlyphs(
aGlyphSet.insert (pGlyphSetID[nChar]);
}
- // loop over all glyph sets to detect substrings that can be xshown together
+ // loop over all glyph sets to detect substrings that can be shown together
// without changing the postscript font
sal_Int32 *pDeltaSubset = static_cast<sal_Int32*>(alloca (nLen * sizeof(sal_Int32)));
unsigned char *pGlyphSubset = static_cast<unsigned char*>(alloca (nLen * sizeof(unsigned char)));
diff --git a/vcl/inc/PhysicalFontCollection.hxx b/vcl/inc/PhysicalFontCollection.hxx
index 36dba9f..a71ff8b 100644
--- a/vcl/inc/PhysicalFontCollection.hxx
+++ b/vcl/inc/PhysicalFontCollection.hxx
@@ -41,7 +41,7 @@ private:
PhysicalFontFamilies maPhysicalFontFamilies;
ImplPreMatchFontSubstitution* mpPreMatchHook; // device specific prematch substitution
- ImplGlyphFallbackFontSubstitution* mpFallbackHook; // device specific glyh fallback substitution
+ ImplGlyphFallbackFontSubstitution* mpFallbackHook; // device specific glyph fallback substitution
public:
explicit PhysicalFontCollection();
diff --git a/vcl/inc/impimagetree.hxx b/vcl/inc/impimagetree.hxx
index 31f6cf3..5323ead 100644
--- a/vcl/inc/impimagetree.hxx
+++ b/vcl/inc/impimagetree.hxx
@@ -79,7 +79,7 @@ private:
/// Remember all the (used) icon styles and individual icons in them.
StyleIconSet maIconSet;
- /// Styly used for the current operations; switches switch several times during fallback search.
+ /// Style used for the current operations; switches switch several times during fallback search.
OUString maCurrentStyle;
bool doLoadImage(
@@ -103,7 +103,7 @@ private:
/// Return name of a real .png according to links.txt.
OUString const & getRealImageName(OUString const & name);
- /** Rerurn name of the fallback style for the provided one.
+ /** Return name of the fallback style for the provided one.
Must not be cyclic :-) The last theme in the chain returns an empty string.
*/
diff --git a/vcl/inc/quartz/common.h b/vcl/inc/quartz/common.h
index c596ef2..49c7e1a 100644
--- a/vcl/inc/quartz/common.h
+++ b/vcl/inc/quartz/common.h
@@ -35,7 +35,7 @@
// CoreFoundation designers, in their wisdom, decided that CFRelease of NULL
// cause a Crash, yet few API can return NULL when asking for the creation
-// of an object, which force us to peper the code with ugly if construct everywhere
+// of an object, which force us to paper the code with ugly if construct everywhere
// and open the door to very nasty crash on rare occasion
// this macro hide the mess
#define SafeCFRelease(a) do { if(a) { CFRelease(a); (a)=NULL; } } while(false)
diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h
index cb5c2f2..08be500 100644
--- a/vcl/inc/unx/salframe.h
+++ b/vcl/inc/unx/salframe.h
@@ -56,7 +56,7 @@ class VCLPLUG_GEN_PUBLIC X11SalFrame : public SalFrame, public X11WindowProvider
friend class vcl_sal::GnomeWMAdaptor;
X11SalFrame* mpParent; // pointer to parent frame
- // which should never obscur this frame
+ // which should never obscure this frame
bool mbTransientForRoot;
std::list< X11SalFrame* > maChildren; // List of child frames
diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h
index 504737a..8550054 100644
--- a/vcl/inc/win/salgdi.h
+++ b/vcl/inc/win/salgdi.h
@@ -164,7 +164,7 @@ private:
/// Mapping between the GDI position and OpenGL, to use for OpenGL drawing.
SalTwoRect maRects;
- /// The OpenGL-based SalGraphicsImpl where we will draw. If null, we ignora the drawing, it means it happened directly to the DC..
+ /// The OpenGL-based SalGraphicsImpl where we will draw. If null, we ignore the drawing, it means it happened directly to the DC...
WinOpenGLSalGraphicsImpl *mpImpl;
public:
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index f05b15a..9d8f80e 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -604,7 +604,7 @@ void AquaSalInstance::DoYield(bool bWait, bool bHandleAllCurrentEvents, sal_uLon
}
// handle cocoa event queue
- // cocoa events mye be only handled in the thread the NSApp was created
+ // cocoa events may be only handled in the thread the NSApp was created
if( isNSAppThread() && mnActivePrintJobs == 0 )
{
// we need to be woken up by a cocoa-event
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 8103b56..e69847f 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -1284,7 +1284,7 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa
x += 4; // add an offset for rounded borders
y += 2; // don't draw into upper border
w -= 8; // offset for left and right rounded border
- h -= 4; // don't draw into upper or ower border
+ h -= 4; // don't draw into upper or lower border
rNativeContentRegion = Rectangle( Point( x + FOCUS_RING_WIDTH, y + FOCUS_RING_WIDTH ), Size( w - 2* FOCUS_RING_WIDTH, h ) );
rNativeBoundingRegion = Rectangle( Point( x, y ), Size( w, h+2*FOCUS_RING_WIDTH ) );
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4feeb2d..ce1d9bb 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -1706,7 +1706,7 @@ bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
break;
/* #i101255# disable autocomplete tab forward/backward
- users expect tab/shif-tab to move the focus to other controls
+ users expect tab/shift-tab to move the focus to other controls
not suddenly to cycle the autocompletion
case KEY_TAB:
{
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index cd3536c..096c84a 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -1698,7 +1698,7 @@ void WMFWriter::UpdateHeader()
nFileSize>>=1; // convert to number of words
pWMF->Seek(nMetafileHeaderPos+6); // to filesize entry in second header
pWMF->WriteUInt32( nFileSize ); // rectify file size
- pWMF->SeekRel(2); // to max-recond-length-entry in second header
+ pWMF->SeekRel(2); // to max-record-length-entry in second header
pWMF->WriteUInt32( nMaxRecordSize ); // and rectify
pWMF->Seek(nPos);
}
diff --git a/vcl/source/font/PhysicalFontCollection.cxx b/vcl/source/font/PhysicalFontCollection.cxx
index 6266591..942e508 100644
--- a/vcl/source/font/PhysicalFontCollection.cxx
+++ b/vcl/source/font/PhysicalFontCollection.cxx
@@ -1113,7 +1113,7 @@ PhysicalFontFamily* PhysicalFontCollection::ImplFindByFont( FontSelectPattern& r
// if the first font was not available find the next available font in
// the semicolon separated list of font names. A font is also considered
// available when there is a matching entry in the Tools->Options->Fonts
- // dialog witho neither ALWAYS nor SCREENONLY flags set and the substitution
+ // dialog with neither ALWAYS nor SCREENONLY flags set and the substitution
// font is available
for( nTokenPos = 0; nTokenPos != -1; )
{
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 9e2d1d3..8c3cfd4 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -399,7 +399,7 @@ public: // TODO: is public really needed?
void updateWidth( bool bUseFirstVal);
private:
- // typeop exceution context
+ // typeop execution context
int mnStackIdx;
ValType mnValStack[ NMAXSTACK+4];
ValType mnTransVals[ NMAXTRANS];
diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx
index db3367d..ba52adc 100644
--- a/vcl/source/fontsubset/ttcr.cxx
+++ b/vcl/source/fontsubset/ttcr.cxx
@@ -383,7 +383,7 @@ typedef struct {
typedef struct {
sal_uInt32 n; /* number of used CMAP sub-tables */
sal_uInt32 m; /* number of allocated CMAP sub-tables */
- CmapSubTable *s; /* sotred array of sub-tables */
+ CmapSubTable *s; /* sorted array of sub-tables */
} table_cmap;
typedef struct {
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index e5de829..439dbd4 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1035,7 +1035,7 @@ void Printer::dispose()
mpDisplayDev.disposeAndClear();
else
{
- // OutputDevice Dtor is tryig the same thing; that why we need to set
+ // OutputDevice Dtor is trying the same thing; that why we need to set
// the FontEntry to NULL here
// TODO: consolidate duplicate cleanup by Printer and OutputDevice
if ( mpFontEntry )
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index f7f2d0f..3a51c93 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -269,7 +269,7 @@ bool InitMultisample(const PIXELFORMATDESCRIPTOR& pfd, int& rPixelFormat,
{
HWND hWnd = NULL;
GLWindow glWin;
- //create a temp windwo to check whether support multi-sample, if support, get the format
+ //create a temp window to check whether support multi-sample, if support, get the format
if (InitTempWindow(&hWnd, 1, 1, pfd, glWin) < 0)
{
SAL_WARN("vcl.opengl", "Can't create temp window to test");
diff --git a/vcl/source/outdev/bitmap.cxx b/vcl/source/outdev/bitmap.cxx
index faf705d..bb72a37 100644
--- a/vcl/source/outdev/bitmap.cxx
+++ b/vcl/source/outdev/bitmap.cxx
@@ -1006,7 +1006,7 @@ void OutputDevice::DrawDeviceAlphaBitmapSlowPath(const Bitmap& rBitmap, const Al
}
// #110958# Disable alpha VDev, we're doing the necessary
- // stuff explicitly furher below
+ // stuff explicitly further below
if (mpAlphaVDev)
mpAlphaVDev = NULL;
diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx
index 06ba7bc..72af39d 100644
--- a/vcl/source/outdev/polyline.cxx
+++ b/vcl/source/outdev/polyline.cxx
@@ -187,7 +187,7 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
SetFillColor(aOldLineColor);
InitFillColor();
- // draw usig a loop; else the topology will paint a PolyPolygon
+ // draw using a loop; else the topology will paint a PolyPolygon
for(sal_uInt32 a(0); a < aAreaPolyPolygon.count(); a++)
{
ImplDrawPolyPolygonWithB2DPolyPolygon(
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 381d20a..69e957e 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -2714,7 +2714,7 @@ bool OutputDevice::GetTextOutlines( ::basegfx::B2DPolyPolygonVector& rVector,
rVector.clear();
// fall back to bitmap conversion
- // Here, we can savely assume that the mapping between characters and glyphs
+ // Here, we can safely assume that the mapping between characters and glyphs
// is one-to-one. This is most probably valid for the old bitmap fonts.
// fall back to bitmap method to get the bounding rectangle,
// so we need a monochrome virtual device with matching font
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index ef1a18e..8695054 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -1416,7 +1416,7 @@ void ImplStdBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHeigh
ImplInitTitle(&maFrameData);
if (pData->mnTitleHeight)
{
- // to improve symbol display force a minum title height
+ // to improve symbol display force a minimum title height
if( pData->mnTitleHeight < MIN_CAPTION_HEIGHT )
pData->mnTitleHeight = MIN_CAPTION_HEIGHT;
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 407087c..1fe9b38 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -2952,7 +2952,7 @@ void Window::setPosSizePixel( long nX, long nY,
pWindow->mpWindowImpl->mpFrame->SetPosSize( nX, nY, nWidth, nHeight, nSysFlags );
- // Resize should be called directly. If we havn't
+ // Resize should be called directly. If we haven't
// set the correct size, we get a second resize from
// the system with the correct size. This can be happened
// if the size is to small or to large.
diff --git a/vcl/unx/generic/app/i18n_ic.cxx b/vcl/unx/generic/app/i18n_ic.cxx
index 875be09..76c37e6 100644
--- a/vcl/unx/generic/app/i18n_ic.cxx
+++ b/vcl/unx/generic/app/i18n_ic.cxx
@@ -417,7 +417,7 @@ SalI18N_InputContext::HandleDestroyIM()
}
// make sure, the input method gets all the X-Events it needs, this is only
-// called once on each frame, it relys on a valid maContext
+// called once on each frame, it relies on a valid maContext
void
SalI18N_InputContext::ExtendEventMask( ::Window aFocusWindow )
@@ -496,7 +496,7 @@ SalI18N_InputContext::SupportInputMethodStyle( XIMStyles *pIMStyles )
// check whether the XIM supports one of the desired styles
// only a single preedit and a single status style must occur
- // in a inpuut method style. Hideki said so, so i trust him
+ // in a input method style. Hideki said so, so i trust him
for ( int nStyle = 0; nStyle < pIMStyles->count_styles; nStyle++ )
{
XIMStyle nProvidedStyle = pIMStyles->supported_styles[ nStyle ];
diff --git a/vcl/win/source/gdi/gdiimpl.cxx b/vcl/win/source/gdi/gdiimpl.cxx
index a0a61d2..a58b3c2 100644
--- a/vcl/win/source/gdi/gdiimpl.cxx
+++ b/vcl/win/source/gdi/gdiimpl.cxx
@@ -1317,7 +1317,7 @@ bool WinSalGraphicsImpl::setClipRegion( const vcl::Region& i_rClip )
{
SelectClipRgn( mrParent.getHDC(), mrParent.mhRegion );
- // debug code if you weant to check range of the newly applied ClipRegion
+ // debug code if you want to check range of the newly applied ClipRegion
//RECT aBound;
//const int aRegionType = GetRgnBox(mrParent.mhRegion, &aBound);
More information about the Libreoffice-commits
mailing list