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 | |
parent | 574ad3aa020fd872209c67a6a549ed70e5257d0f (diff) |
typo: postion -> position
27 files changed, 32 insertions, 32 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 6e25e83e913e..be3e010813e9 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -2767,7 +2767,7 @@ sal_Bool ODbaseTable::WriteBuffer() SAL_INFO( "connectivity.drivers", "dbase Ocke.Janssen@sun.com ODbaseTable::WriteBuffer" ); OSL_ENSURE(m_nFilePos >= 1,"SdbDBFCursor::FileFetchRow: ungueltige Record-Position"); - // postion on desired record: + // position on desired record: sal_Size nPos = m_aHeader.db_kopf + (long)(m_nFilePos-1) * m_aHeader.db_slng; m_pFileStream->Seek(nPos); return m_pFileStream->Write((char*) m_pBuffer, m_aHeader.db_slng) > 0; diff --git a/dbaccess/source/core/api/RowSetBase.hxx b/dbaccess/source/core/api/RowSetBase.hxx index e9f2e95631c9..a0bbc3eb5847 100644 --- a/dbaccess/source/core/api/RowSetBase.hxx +++ b/dbaccess/source/core/api/RowSetBase.hxx @@ -191,7 +191,7 @@ namespace dbaccess void movementFailed(); ORowSetRow getOldRow(sal_Bool _bWasNew); - /** move the cache the postion defined by the member functor + /** move the cache the position defined by the member functor @param _aCheckFunctor Return <TRUE/> when we already stand on the row we want to. @param _aMovementFunctor diff --git a/dbaccess/source/ui/inc/TableController.hxx b/dbaccess/source/ui/inc/TableController.hxx index 4aaac196354c..93d2ff251f74 100644 --- a/dbaccess/source/ui/inc/TableController.hxx +++ b/dbaccess/source/ui/inc/TableController.hxx @@ -101,7 +101,7 @@ namespace dbaui inline ::std::vector< ::boost::shared_ptr<OTableRow> >* getRows() { return &m_vRowList; } - /// returns the postion of the first empty row + /// returns the position of the first empty row sal_Int32 getFirstEmptyRowPosition(); inline const OTypeInfoMap* getTypeInfo() const { return &m_aTypeInfo; } diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx index cbe8c4181d57..68ee428806de 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx @@ -80,7 +80,7 @@ namespace dbaui sal_Int32 nIndex = -1; if( m_pLine ) { - // search the postion of our table window in the table window map + // search the position of our table window in the table window map nIndex = m_pLine->GetParent()->GetTabWinMap()->size(); const ::std::vector<OTableConnection*>* pVec = m_pLine->GetParent()->getTableConnections(); ::std::vector<OTableConnection*>::const_iterator aIter = pVec->begin(); diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index 57e711f32db3..623aa9b612cf 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -132,7 +132,7 @@ namespace dbaui sal_Int32 nIndex = -1; if( m_pTable ) { - // search the postion of our table window in the table window map + // search the position of our table window in the table window map OJoinTableView::OTableWindowMap* pMap = m_pTable->getTableView()->GetTabWinMap(); OJoinTableView::OTableWindowMap::iterator aIter = pMap->begin(); OJoinTableView::OTableWindowMap::iterator aEnd = pMap->end(); diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 5d29c8b31669..b616404fb0dd 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -248,7 +248,7 @@ void ImpEditView::DrawSelection( EditSelection aTmpSel, Region* pRegion, OutputD if ( aBottomRight.Y() < GetVisDocTop() ) continue; - // Now that we have Bidi, the first/last index doesn't have to be the 'most outside' postion + // Now that we have Bidi, the first/last index doesn't have to be the 'most outside' position if ( !bPartOfLine ) { Range aLineXPosStartEnd = pEditEngine->GetLineXPosStartEnd(pTmpPortion, pLine); diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 5c9182972466..e3b33bf859be 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -1254,7 +1254,7 @@ sal_Bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY ) bool bCanHyphenate = ( aTmpFont.GetCharSet() != RTL_TEXTENCODING_SYMBOL ); if ( bCompressedChars && pPortion && ( pPortion->GetLen() > 1 ) && pPortion->GetExtraInfos() && pPortion->GetExtraInfos()->bCompressed ) { - // I need the manipulated DXArray for determining the break postion... + // I need the manipulated DXArray for determining the break position... sal_Int32* pDXArray = NULL; if (!pLine->GetCharPosArray().empty()) pDXArray = &pLine->GetCharPosArray()[0] + (nPortionStart - pLine->GetStart()); @@ -4310,7 +4310,7 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_Int32 nPara, sal_uLong nLayoutMode = pOutDev->GetLayoutMode(); - // We always use the left postion for DrawText() + // We always use the left position for DrawText() nLayoutMode &= ~(TEXT_LAYOUT_BIDI_RTL); if ( !bCTL && !bR2L) diff --git a/hwpfilter/source/hbox.h b/hwpfilter/source/hbox.h index 8dbe2bbbb096..f27913780be4 100644 --- a/hwpfilter/source/hbox.h +++ b/hwpfilter/source/hbox.h @@ -441,7 +441,7 @@ struct Columns return; } } - // last postion. + // last position. if( nCount == nTotal ) AddColumnsSize(); data[nCount++] = pos; @@ -502,7 +502,7 @@ struct Rows return; } } - // last postion. + // last position. if( nCount == nTotal ) AddRowsSize(); data[nCount++] = pos; diff --git a/lotuswordpro/source/filter/xfilter/xfframe.hxx b/lotuswordpro/source/filter/xfilter/xfframe.hxx index caef4cedb73b..2741f826edc0 100644 --- a/lotuswordpro/source/filter/xfilter/xfframe.hxx +++ b/lotuswordpro/source/filter/xfilter/xfframe.hxx @@ -73,7 +73,7 @@ * @brief * Base class for all frame object,include drawing,image,text-box. * - * Use SetX(),SetY(),SetWidth(),SetHeight() to set postion for the frame. + * Use SetX(),SetY(),SetWidth(),SetHeight() to set position for the frame. * Only if you set anchor type to enumXFAnchorPage, the SetAnchorPage functions. */ class XFFrame : public XFContentContainer diff --git a/sc/inc/funcdesc.hxx b/sc/inc/funcdesc.hxx index 3068428976cb..4da003dfc7a9 100644 --- a/sc/inc/funcdesc.hxx +++ b/sc/inc/funcdesc.hxx @@ -268,7 +268,7 @@ public: @param _nPos position of function in this category. - @return function at the _nPos postion in this category, null if _nPos out of bounds. + @return function at the _nPos position in this category, null if _nPos out of bounds. */ virtual const formula::IFunctionDescription* getFunction(sal_uInt32 _nPos) const SAL_OVERRIDE; diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx index 09f9da567fa5..6763509bbb98 100644 --- a/sc/source/core/data/dociter.cxx +++ b/sc/source/core/data/dociter.cxx @@ -1532,7 +1532,7 @@ public: // Move to the last position of the previous block. decBlock(aHiPos); - // Check the row postion of the end of the previous block, and make sure it's valid. + // Check the row position of the end of the previous block, and make sure it's valid. SCROW nBlockEndRow = aHiPos.first->position + aHiPos.first->size - 1; if (nBlockEndRow < nStartRow) { diff --git a/sd/source/ui/func/fuediglu.cxx b/sd/source/ui/func/fuediglu.cxx index e7cfb70f64a0..51e3c32f106c 100644 --- a/sd/source/ui/func/fuediglu.cxx +++ b/sd/source/ui/func/fuediglu.cxx @@ -49,7 +49,7 @@ FuEditGluePoints::FuEditGluePoints ( SfxRequest& rReq) : FuDraw(pViewSh, pWin, pView, pDoc, rReq) //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point ,bBeginInsertPoint(sal_False), oldPoint(0,0) { @@ -270,7 +270,7 @@ sal_Bool FuEditGluePoints::KeyInput(const KeyEvent& rKEvt) mpView->SetActualWin( mpWindow ); //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point sal_Bool bReturn = sal_False; @@ -353,7 +353,7 @@ sal_Bool FuEditGluePoints::KeyInput(const KeyEvent& rKEvt) } //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, and -//SHIFT+ENTER key to decide the postion and draw the new insert point +//SHIFT+ENTER key to decide the position and draw the new insert point void FuEditGluePoints::ForcePointer(const MouseEvent* pMEvt) { if(bBeginInsertPoint && pMEvt) diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index b0cf4d75b674..cd8630ea3fb1 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -92,7 +92,7 @@ FuSelection::FuSelection ( nEditMode(SID_BEZIER_MOVE), pWaterCanCandidate(NULL) //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point ,bBeginInsertPoint(sal_False), oldPoint(0,0) ,bMovedToCenterPoint(sal_False) diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx index 5ea12d543057..871b12e95503 100644 --- a/sd/source/ui/inc/fuediglu.hxx +++ b/sd/source/ui/inc/fuediglu.hxx @@ -45,7 +45,7 @@ public: virtual void Deactivate() SAL_OVERRIDE; //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point virtual void ForcePointer(const MouseEvent* pMEvt = NULL) SAL_OVERRIDE; private: sal_Bool bBeginInsertPoint; diff --git a/sd/source/ui/inc/fusel.hxx b/sd/source/ui/inc/fusel.hxx index 6f5add203742..326f69a2fdd7 100644 --- a/sd/source/ui/inc/fusel.hxx +++ b/sd/source/ui/inc/fusel.hxx @@ -98,7 +98,7 @@ private: */ SdrObject* pickObject (const Point& rTestPoint); //Add Shift+UP/DOWN/LEFT/RIGHT key to move the position of insert point, - //and SHIFT+ENTER key to decide the postion and draw the new insert point + //and SHIFT+ENTER key to decide the position and draw the new insert point sal_Bool bBeginInsertPoint; Point oldPoint; //let mouse cursor move diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index c2766978e56d..50fdd531e452 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1673,7 +1673,7 @@ bool SdrTextObj::TRGetBaseGeometry(basegfx::B2DHomMatrix& rMatrix, basegfx::B2DP { case SFX_MAPUNIT_TWIP : { - // postion + // position aTranslate.setX(ImplTwipsToMM(aTranslate.getX())); aTranslate.setY(ImplTwipsToMM(aTranslate.getY())); 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 ) diff --git a/udkapi/com/sun/star/io/XMarkableStream.idl b/udkapi/com/sun/star/io/XMarkableStream.idl index 130e1c47c977..f8733b1deaea 100644 --- a/udkapi/com/sun/star/io/XMarkableStream.idl +++ b/udkapi/com/sun/star/io/XMarkableStream.idl @@ -33,7 +33,7 @@ module com { module sun { module star { module io { */ published interface XMarkableStream: com::sun::star::uno::XInterface { - /** creates a mark of the current postion and returns an identifier to it. + /** creates a mark of the current position and returns an identifier to it. */ long createMark() raises( com::sun::star::io::IOException ); diff --git a/winaccessibility/source/service/AccObject.cxx b/winaccessibility/source/service/AccObject.cxx index ed9b7e353704..63db986a069b 100644 --- a/winaccessibility/source/service/AccObject.cxx +++ b/winaccessibility/source/service/AccObject.cxx @@ -187,7 +187,7 @@ AccObject::~AccObject() /** * Insert a child element. * @param pChild Child element that should be inserted into child list. - * @param pos Insert postion. + * @param pos Insert position. * @return */ void AccObject::InsertChild( AccObject* pChild,short pos ) @@ -213,7 +213,7 @@ void AccObject::InsertChild( AccObject* pChild,short pos ) /** * Delete a child element * @param pChild Child element that should be inserted into child list. - * @param pos Insert postion. + * @param pos Insert position. * @return */ void AccObject::DeleteChild( AccObject* pChild ) |