diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 18:12:15 +0200 |
---|---|---|
committer | Joren De Cuyper <jorendc@libreoffice.org> | 2015-09-29 22:19:19 +0000 |
commit | a2a5187a8ff7b8a18db51a471bd934e5a94c155c (patch) | |
tree | bd7a6fbd0815bf3f6172f60bedbac6d74d363c30 /sw/source | |
parent | Fix typos (diff) | |
download | core-a2a5187a8ff7b8a18db51a471bd934e5a94c155c.tar.gz core-a2a5187a8ff7b8a18db51a471bd934e5a94c155c.zip |
Fix typos
Change-Id: Ifddd2533b767924791338555031b848c59980c52
Reviewed-on: https://gerrit.libreoffice.org/18989
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/fldui/fldref.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbasections.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/langhelper.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/uiview/viewport.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh2.cxx | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx index d32b11a393ad..252cf9ba58cb 100644 --- a/sw/source/ui/fldui/fldref.cxx +++ b/sw/source/ui/fldui/fldref.cxx @@ -912,7 +912,7 @@ bool SwFieldRefPage::FillItemSet(SfxItemSet* ) } else // SeqenceFields { - // get fields for Seq-FeldType: + // get fields for Seq-FieldType: SwSetExpFieldType* pType = static_cast<SwSetExpFieldType*>(pSh->GetFieldType( nTypeId & ~REFFLDFLAG, RES_SETEXPFLD )); if( pType ) diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index c6d2f356d8d1..8a62944e9592 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -347,7 +347,7 @@ IMPL_LINK_NOARG_TYPED(SwColumnDlg, OkHdl, Button*, void) if(pPageSet && SfxItemState::SET == pPageSet->GetItemState(RES_COL) && bPageChanged) { - // deterine current PageDescriptor and fill the Set with it + // determine current PageDescriptor and fill the Set with it const size_t nCurIdx = rWrtShell.GetCurPageDesc(); SwPageDesc aPageDesc(rWrtShell.GetPageDesc(nCurIdx)); SwFrameFormat &rFormat = aPageDesc.GetMaster(); @@ -1074,7 +1074,7 @@ IMPL_LINK( SwColumnPage, EdModify, MetricField *, pMetricField ) } // Handler behind the Checkbox for automatic width. When the box is checked -// no expicit values for the column width can be entered. +// no explicit values for the column width can be entered. IMPL_LINK_TYPED( SwColumnPage, AutoWidthHdl, Button*, pButton, void ) { CheckBox* pBox = static_cast<CheckBox*>(pButton); diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index 4d9e78b0ce32..77586e83fb5d 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -763,7 +763,7 @@ void SwGlossaryDlg::Init() m_pCategoryBox->MakeVisible(pSelEntry); GrpSelect(m_pCategoryBox); } - //JP 16.11.99: the SvxTreeListBox has a Bug. The Box dont recalc the + //JP 16.11.99: the SvxTreeListBox has a Bug. The Box don't recalc the // outputsize, when all entries are insertet. The result is, that // the Focus/Highlight rectangle is to large and paintet over the // HScrollbar. -> Fix: call the resize diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx index a23d56d63c81..843029cd804d 100644 --- a/sw/source/ui/vba/vbasections.cxx +++ b/sw/source/ui/vba/vbasections.cxx @@ -81,7 +81,7 @@ public: SectionCollectionHelper( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< frame::XModel >& xModel, const uno::Reference< text::XTextRange >& xTextRange ) throw (uno::RuntimeException) : mxParent( xParent ), mxContext( xContext ), mxModel( xModel ) { - // Hacky implementation of Range.Sections, only support 1 secction + // Hacky implementation of Range.Sections, only support 1 section uno::Reference< beans::XPropertySet > xRangeProps( xTextRange, uno::UNO_QUERY_THROW ); uno::Reference< style::XStyle > xStyle = word::getCurrentPageStyle( mxModel, xRangeProps ); uno::Reference< beans::XPropertySet > xPageProps( xStyle, uno::UNO_QUERY_THROW ); diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 01db507f1b9c..904da2b56aad 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -175,7 +175,7 @@ public: bool IsSttOfPara() const { return IsSttPara(); } bool IsEndOfPara() const { return IsEndPara(); } - // select word / sentense + // select word / sentence bool SelNearestWrd(); bool SelWrd (const Point * = 0, bool bProp=false ); // #i32329# Enhanced selection diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx index 185cfa284e00..905cb6893004 100644 --- a/sw/source/uibase/shells/langhelper.cxx +++ b/sw/source/uibase/shells/langhelper.cxx @@ -323,7 +323,7 @@ namespace SwLangHelper EE_CHAR_LANGUAGE_CTL }; - // Writewr IDs + // Writer IDs const sal_uInt16 aLangWhichId_Writer[3] = { RES_CHRATR_LANGUAGE, diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx index d86aac3e90e3..47ba3deb006f 100644 --- a/sw/source/uibase/uiview/viewport.cxx +++ b/sw/source/uibase/uiview/viewport.cxx @@ -106,7 +106,7 @@ static void lcl_GetPos(SwView* pView, if ( !bHori && nTmp > lSize ) lDelta -= nTmp - lSize; - // use a reference to access/moodify the correct coordinate + // use a reference to access/modify the correct coordinate // returned by accessors to non-const object long & rCoord = bHori ? rPos.X() : rPos.Y(); rCoord += lDelta; diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 7edacd1bb0bf..3d86f271e239 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2427,7 +2427,7 @@ void SwContentTree::ShowTree() SvTreeListBox::Show(); } -// folded together will not be geidled +// folded together will not be glidled void SwContentTree::HideTree() { diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx index 5e3acf1583e8..89065f4d2843 100644 --- a/sw/source/uibase/wrtsh/select.cxx +++ b/sw/source/uibase/wrtsh/select.cxx @@ -878,7 +878,7 @@ int SwWrtShell::IntelligentCut(int nSelection, bool bCut) cNext = GetChar(true); int cWord = NO_WORD; - // is a word seleced? + // is a word selected? if(!cWord && cPrev && cNext && CH_TXTATR_BREAKWORD != cPrev && CH_TXTATR_INWORD != cPrev && CH_TXTATR_BREAKWORD != cNext && CH_TXTATR_INWORD != cNext && diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index e303503520a6..7f20bfef46f6 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -569,7 +569,7 @@ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk, aSection.SetProtectFlag( false ); // the update of content from linked section at time delete - // the undostack. Then the change of the section dont create + // the undostack. Then the change of the section don't create // any undoobject. - BUG 69145 bool bDoesUndo = DoesUndo(); SwUndoId nLastUndoId(UNDO_EMPTY); |