diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-30 12:08:53 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-30 10:10:42 +0000 |
commit | 24b60f65a5dbf7f8f7e54c0ffd1210dc4ba8363d (patch) | |
tree | a7548e4853c11b732b3652c64931f5c689284651 /sc/source/ui/view | |
parent | 520514cfe6a99f68b9e1d458fae20026f1a8f66b (diff) |
Fix typos
Change-Id: Ifb52f4a5a547a5a52462c0f9166aad13cbf21cd9
Reviewed-on: https://gerrit.libreoffice.org/18971
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/dbfunc3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/drawview.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/output2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/tabview2.cxx | 2 |
9 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index 268c2168413e..6755a4dd1c37 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -438,7 +438,7 @@ void ScDBFunc::DoSubTotals( const ScSubTotalParam& rParam, bool bRecord, else pUndoDoc->InitUndo( &rDoc, nTab, nTab, false, bOldFilter ); - // recod data range - including filter results + // record data range - including filter results rDoc.CopyToDocument( 0,rParam.nRow1+1,nTab, MAXCOL,rParam.nRow2,nTab, IDF_ALL, false, pUndoDoc ); diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx index bc575d47a67a..f49c66ab53b1 100644 --- a/sc/source/ui/view/drawview.cxx +++ b/sc/source/ui/view/drawview.cxx @@ -334,7 +334,7 @@ void ScDrawView::RecalcScale() for ( size_t i = 0; i < nCount; ++i ) { SdrObject* pObj = pPage->GetObj( i ); - // Align objects to nearset grid position + // Align objects to nearest grid position SyncForGrid( pObj ); } } diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index f3f735127da9..ccd622d709da 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -591,7 +591,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) if ( pStyleSheet ) { // style pointer to names before erase, - // otherwise cells will get ivalid pointer + // otherwise cells will get invalid pointer //!!! As it happens, a method that does it for a particular style rDoc.StylesToNames(); bConvertBack = true; @@ -945,7 +945,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq ) pStylePool->Remove( pStyleSheet ); else { - // If in the mean time something was paited with the + // If in the mean time something was painted with the // temporary changed item set pDocSh->PostPaintGridAll(); } @@ -2520,7 +2520,7 @@ void ScFormatShell::GetNumFormatState( SfxItemSet& rSet ) aFormatCode = 9; break; default: - aFormatCode = -1; //for more roburst + aFormatCode = -1; //for more robust } if( aFormatCode == -1 ) rSet.InvalidateItem( nWhich ); diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 549008a7731a..e3d918c46144 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -2063,7 +2063,7 @@ void ScGridWindow::HandleMouseButtonDown( const MouseEvent& rMEvt, MouseEventSta GetEditUrl(rMEvt.GetPosPixel()) ) // click on link: do not move cursor { SetPointer( Pointer( PointerStyle::RefHand ) ); - nMouseStatus = SC_GM_URLDOWN; // also only esecute when ButtonUp + nMouseStatus = SC_GM_URLDOWN; // also only execute when ButtonUp return; } @@ -2546,7 +2546,7 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt ) aAddr = aAddr + ":" + aAddr; } - //! SID_MARKAREA does not exixst anymore ??? + //! SID_MARKAREA does not exist anymore ??? //! What happens when selecting with the cursor ??? } else // only move cursor @@ -3138,7 +3138,7 @@ void ScGridWindow::Command( const CommandEvent& rCEvt ) // Edit cell with spelling errors ? if (bMouse && (GetEditUrl(aPosPixel) || bSpellError)) { - // GetEditUrlOrError has alreasy moved the Cursor + // GetEditUrlOrError has already moved the Cursor pScMod->SetInputMode( SC_INPUT_TABLE ); bEdit = pViewData->HasEditView(eWhich); // Did it work? @@ -3579,7 +3579,7 @@ bool ScGridWindow::DropScroll( const Point& rMousePos ) static bool lcl_TestScenarioRedliningDrop( ScDocument* pDoc, const ScRange& aDragRange) { - // Test, if a senario is affected by a drop when turing on RedLining, + // Test, if a scenario is affected by a drop when turing on RedLining, bool bReturn = false; SCTAB nTab = aDragRange.aStart.Tab(); SCTAB nTabCount = pDoc->GetTableCount(); diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx index cfeac01bcc1a..80770641142e 100644 --- a/sc/source/ui/view/gridwin3.cxx +++ b/sc/source/ui/view/gridwin3.cxx @@ -143,7 +143,7 @@ bool ScGridWindow::DrawCommand(const CommandEvent& rCEvt) pDraw->SetWindow( this ); sal_uInt8 nUsed = pDraw->Command( rCEvt ); if( nUsed == SC_CMD_USED ) - nButtonDown = 0; // MouseButtonUp is swalloed... + nButtonDown = 0; // MouseButtonUp is swallowed... if( nUsed || pDrView->IsAction() ) return true; } diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 72c6202e32e2..51e4b1923d0d 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -1186,7 +1186,7 @@ void ScGridWindow::DrawPagePreview( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, rRenderContext.DrawRect( Rectangle( Point(aStart.X(),aEnd.Y()-2), aEnd ) ); rRenderContext.DrawRect( Rectangle( Point(aEnd.X()-2,aStart.Y()), aEnd ) ); - // Page breakes + // Page breaks //! Display differently (dashed ????) size_t nColBreaks = rData.GetPagesX(); @@ -1621,7 +1621,7 @@ void ScGridWindow::GetSelectionRects( ::std::vector< Rectangle >& rPixelRects ) for (SCROW nY=nY1; nY<=nY2; nY++) { bool bFirstRow = ( nY == nPosY ); // first visible row? - bool bDoHidden = false; // repete hidden ? + bool bDoHidden = false; // repeat hidden ? sal_uInt16 nHeightTwips = pDoc->GetRowHeight( nY,nTab ); bool bDoRow = ( nHeightTwips != 0 ); if (bDoRow) diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index b2e04d01f53e..e07b7f7a3bb3 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -1705,7 +1705,7 @@ Rectangle ScOutputData::LayoutStrings(bool bPixelToLogic, bool bPaint, const ScA nNeededWidth = aVars.GetTextSize().Width() + nTotalMargin; - // GetOutputArea gives justfied rectangles + // GetOutputArea gives justified rectangles GetOutputArea( nX, nArrY, nPosX, nPosY, nCellX, nCellY, nNeededWidth, *pPattern, sal::static_int_cast<sal_uInt16>(eOutHorJust), bCellIsValue || bRepeat || bShrink, bBreak, false, diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 02a9d5d2351f..5b775a8d6aa3 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -945,7 +945,7 @@ void ScPrintFunc::InitParam( const ScPrintOptions* pOptions ) if (!bPrintEntireSheet && !nPrintRangeCount) mbHasPrintRange = false; - if ( pUserArea ) // UserArea (selection) has prority + if ( pUserArea ) // UserArea (selection) has priority { bPrintCurrentTable = aAreaParam.bPrintArea = true; // Selection @@ -1690,7 +1690,7 @@ void ScPrintFunc::MakeEditEngine() pEditDefaults->Put( rPattern.GetItem(ATTR_FONT_HEIGHT), EE_CHAR_FONTHEIGHT ); pEditDefaults->Put( rPattern.GetItem(ATTR_CJK_FONT_HEIGHT), EE_CHAR_FONTHEIGHT_CJK ); pEditDefaults->Put( rPattern.GetItem(ATTR_CTL_FONT_HEIGHT), EE_CHAR_FONTHEIGHT_CTL ); - // dont use font color, because background color is not used + // don't use font color, because background color is not used //! there's no way to set the background for note pages pEditDefaults->ClearItem( EE_CHAR_COLOR ); if (ScGlobal::IsSystemRTL()) diff --git a/sc/source/ui/view/tabview2.cxx b/sc/source/ui/view/tabview2.cxx index 5e14d9ca0bb9..6876070fcda2 100644 --- a/sc/source/ui/view/tabview2.cxx +++ b/sc/source/ui/view/tabview2.cxx @@ -337,7 +337,7 @@ void ScTabView::InitOwnBlockMode() { if (!IsBlockMode()) { - // when there is no (old) selection anynmore, delete anchor in SelectionEngine: + // when there is no (old) selection anymore, delete anchor in SelectionEngine: ScMarkData& rMark = aViewData.GetMarkData(); if (!rMark.IsMarked() && !rMark.IsMultiMarked()) GetSelEngine()->CursorPosChanging( false, false ); |