diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-04-10 10:46:50 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-14 12:32:40 +0200 |
commit | 75f5d9d21401d16698eac2c5d092ae83970c0a99 (patch) | |
tree | 5f624f5f7da8dd18b3cbae3de060f309d396b9d8 /sw | |
parent | 574ad3aa020fd872209c67a6a549ed70e5257d0f (diff) |
typo: postion -> position
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/frmedt/fecopy.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/itrcrsr.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/wrong.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/uibase/wrtsh/select.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/undo/untbl.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/vba/vbarangehelper.cxx | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 0040b7fb31dc..16ce19efd965 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -1403,7 +1403,7 @@ com::sun::star::uno::Sequence< ::com::sun::star::style::TabStop > SwAccessiblePa SwPosition aPosition( *pNode, aIndex ); GetFrm()->GetCharRect( aCoreRect, aPosition, &aMoveState ); - // already get the caret postion + // already get the caret position com::sun::star::uno::Sequence< ::com::sun::star::style::TabStop > tabs; const sal_Int32 nStrLen = GetTxtNode()->GetTxt().getLength(); if( nStrLen > 0 ) diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index 57385e5b8322..dcad11e08724 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -629,7 +629,7 @@ sal_Bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt, bRet = sal_True; if( this == pDestShell ) { - // same shell? then request the postion + // same shell? then request the position // at the passed document position SwPosition aPos( *GetCrsr()->GetPoint() ); Point aPt( rInsPt ); diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx index afd2927e9801..e68e20b6870e 100644 --- a/sw/source/core/text/itrcrsr.cxx +++ b/sw/source/core/text/itrcrsr.cxx @@ -321,7 +321,7 @@ void SwTxtMargin::CtorInitTxtMargin( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf ) } // Note: <SwTxtFrm::GetAdditionalFirstLineOffset()> returns a negative - // value for the new list label postion and space mode LABEL_ALIGNMENT + // value for the new list label position and space mode LABEL_ALIGNMENT // and label alignment CENTER and RIGHT in L2R layout respectively // label alignment LEFT and CENTER in R2L layout nFirst += pFrm->GetAdditionalFirstLineOffset(); diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx index 4a56bceefb70..2f32c73f9b4d 100644 --- a/sw/source/core/text/wrong.cxx +++ b/sw/source/core/text/wrong.cxx @@ -260,7 +260,7 @@ void SwWrongList::SetInvalid( sal_Int32 nBegin, sal_Int32 nEnd ) nEndInvalid = nEnd; } -/** Change all values after the given postion. +/** Change all values after the given position. Needed after insert/deletion of characters. diff --git a/sw/source/core/uibase/wrtsh/select.cxx b/sw/source/core/uibase/wrtsh/select.cxx index 5b8eee1f367f..6a7157c0b60f 100644 --- a/sw/source/core/uibase/wrtsh/select.cxx +++ b/sw/source/core/uibase/wrtsh/select.cxx @@ -854,7 +854,7 @@ int SwWrtShell::IntelligentCut(int nSelection, sal_Bool bCut) { // On multiple selection no intelligent drag and drop // there are multiple cursors, since a second was placed - // already at the target postion. + // already at the target position. if( IsAddMode() || !(nSelection & nsSelectionType::SEL_TXT) ) return sal_False; diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 7149c8d36bcb..1c5501fa5209 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -2496,7 +2496,7 @@ void SwUndoTblCpyTbl::UndoImpl(::sw::UndoRedoContext & rContext) if( bShiftPam ) { // The aPam.Point is at the moment at the last position of the new content and has to be - // moved to the first postion of the old content for the SwUndoDelete operation + // moved to the first position of the old content for the SwUndoDelete operation SwNodeIndex aTmpIdx( aPam.GetPoint()->nNode, 1 ); SwTxtNode *pTxt = aTmpIdx.GetNode().GetTxtNode(); if( pTxt ) diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 8854ae61c167..0a8dc0434e73 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -2203,7 +2203,7 @@ long SwWW8ImplReader::Read_And(WW8PLCFManResult* pRes) } } - // Set postion of the text range's first character + // Set position of the text range's first character if( pTxtNode ) { pTxtNode->MakeStartIndex(&pPaM->GetPoint()->nContent); diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 8737774703c5..e62e1a9f0f16 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -3140,7 +3140,7 @@ void SwTokenWindow::AdjustScrolling() } else { - //if the control fits into the space then the first control must be at postion 0 + //if the control fits into the space then the first control must be at position 0 long nFirstPos = pFirstCtrl->GetPosPixel().X(); if(nFirstPos != 0) diff --git a/sw/source/ui/vba/vbarangehelper.cxx b/sw/source/ui/vba/vbarangehelper.cxx index b522c44ce788..57cb19602cde 100644 --- a/sw/source/ui/vba/vbarangehelper.cxx +++ b/sw/source/ui/vba/vbarangehelper.cxx @@ -32,7 +32,7 @@ using namespace ::com::sun::star; * position has to be adjusted. * @param xText a text where a range position is searched * @param position a position inside o the text - * @return a range for the postion; null is returned if no range can be + * @return a range for the position; null is returned if no range can be * constructed. */ uno::Reference< text::XTextRange > SwVbaRangeHelper::getRangeByPosition( const uno::Reference< text::XText >& rText, sal_Int32 _position ) throw ( uno::RuntimeException ) |