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