diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-07-02 18:24:20 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2015-07-04 10:22:11 +0000 |
commit | 3dfdd18707019c49723ad98e74f5202a3ae436f7 (patch) | |
tree | f43c956f39aae0173cbbc6a307ae63189012ca06 /sc/source | |
parent | 0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (diff) |
Fix typos
Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1
Reviewed-on: https://gerrit.libreoffice.org/16710
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/column2.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 16 | ||||
-rw-r--r-- | sc/source/core/data/table5.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/chartlis.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/tool/interpr7.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/stylesbuffer.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/xlchart.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/inc/xlpivot.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/drawfunc/fuconstr.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/vba/excelvbahelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaapplication.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 2 |
19 files changed, 28 insertions, 28 deletions
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx index 566c13997e88..f995ada01a96 100644 --- a/sc/source/core/data/column2.cxx +++ b/sc/source/core/data/column2.cxx @@ -1588,7 +1588,7 @@ struct FormulaGroupDumper : std::unary_function<sc::CellStoreType::value_type, v void ScColumn::DumpFormulaGroups() const { - cout << "-- formua groups" << endl; + cout << "-- formula groups" << endl; std::for_each(maCells.begin(), maCells.end(), FormulaGroupDumper()); cout << "--" << endl; } diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 1a850c35c8cc..ce8ad8e7d0fa 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -875,15 +875,15 @@ void ScDrawLayer::RecalcPos( SdrObject* pObj, ScDrawObjData& rData, bool bNegati // get bounding rectangle of shape ( include any hidden row/columns ), <sigh> we need to do this // because if the shape is rotated the anchor from xml is in terms of the unrotated shape, if // the shape is hidden ( by the rows that contain the shape being hidden ) then our hack of - // trying to infer the 'real' e.g. rotated anchor from the SnapRect will fail ( because the LogicRect will - // not have the correct position or size ) The only way we can possible do this is to first get the + // trying to infer the 'real' e.g. rotated anchor from the SnapRect will fail (because the LogicRect will + // not have the correct position or size). The only way we can possible do this is to first get the // 'unrotated' shape dimensions from the persisted Anchor (from xml) and then 'create' an Anchor from the - // associated rotated shape ( note: we do this by actually setting the LogicRect for the shape temporarily to the - // *full* size then grabbing the SnapRect ( which gives the transformed rotated dimensions ), it would be - // wonderful if we could do this mathematically without having to temporarily tweak the object... othoh this way - // is guaranteed to get consistent results ) + // associated rotated shape (note: we do this by actually setting the LogicRect for the shape temporarily to the + // *full* size then grabbing the SnapRect (which gives the transformed rotated dimensions), it would be + // wonderful if we could do this mathematically without having to temporarily tweak the object... otoh this way + // is guaranteed to get consistent results) ResizeLastRectFromAnchor( pObj, rData, true, bNegativePage, bCanResize, false ); - // aFullRect contains the unrotated size and position of the shape ( regardless of any hidden row/columns ) + // aFullRect contains the unrotated size and position of the shape (regardless of any hidden row/columns) Rectangle aFullRect = rData.maLastRect; // get current size and position from the anchor for use later @@ -1894,7 +1894,7 @@ void ScDrawLayer::SetCellAnchoredFromPosition( SdrObject &rObj, const ScDocument ScDrawObjData aVisAnchor; GetCellAnchorFromPosition( rObj, aVisAnchor, rDoc, nTab ); SetVisualCellAnchored( rObj, aVisAnchor ); - // absolutely necessary to set flag that in order to preven ScDrawLayer::RecalcPos + // absolutely necessary to set flag that in order to prevent ScDrawLayer::RecalcPos // doing an initialisation hack if ( ScDrawObjData* pAnchor = GetObjData( &rObj ) ) { diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx index 5924d3ec4305..e54eaa7f5f22 100644 --- a/sc/source/core/data/table5.cxx +++ b/sc/source/core/data/table5.cxx @@ -224,7 +224,7 @@ void ScTable::UpdatePageBreaks( const ScRange* pUserArea ) { bManualBreak = (nY == nNextManualBreak); if (nY >= nNextManualBreak) - // Query the next menual break position. + // Query the next manual break position. nNextManualBreak = GetNextManualBreak(nY+1); } diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 3e33537d69ff..98c95e7cad99 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -3683,7 +3683,7 @@ public: /// Produce kernel hash std::string GetMD5(); - /// Create program, build, and create kerenl + /// Create program, build, and create kernel /// TODO cache results based on kernel body hash /// TODO: abstract OpenCL part out into OpenCL wrapper. void CreateKernel(); diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index df74b9c3dafe..dc03b248b508 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -74,7 +74,7 @@ void ScChartListener::ExternalRefListener::notify(sal_uInt16 nFileId, ScExternal { if (maFileIds.count(nFileId)) // We are listening to this external document. Send an update - // requst to the chart. + // request to the chart. mrParent.SetUpdateQueue(); } break; diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx index ce69848d6f99..d96d2b133dd2 100644 --- a/sc/source/core/tool/interpr7.cxx +++ b/sc/source/core/tool/interpr7.cxx @@ -209,7 +209,7 @@ void ScInterpreter::ScWebservice() followed by hex digits. It is encoded the same way that the posted data from a WWW form is encoded, that is the same way as in application/x-www-form-urlencoded media type and - as pwer RFC 3986. + as per RFC 3986. @see fdo#76870 */ diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index ff10e8b8af45..78baf301fa2f 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -2960,7 +2960,7 @@ SdrObject* XclImpPictureObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, const // graphic at a base level but unlikely, normally controls have a valid // preview in the IMGDATA record ( see below ) // It might be possible to push such an imported graphic up to this - // XclImpPictureObj instance but there are somany layers of indirection I + // XclImpPictureObj instance but there are so many layers of indirection I // don't see an easy way. This way at least ensures that we can // avoid a 'blank' shape that can result from a failed control import if ( !xSdrObj && IsOcxControl() && maGraphic.GetType() == GRAPHIC_NONE ) diff --git a/sc/source/filter/inc/stylesbuffer.hxx b/sc/source/filter/inc/stylesbuffer.hxx index 5701244767b9..ca99252471f0 100644 --- a/sc/source/filter/inc/stylesbuffer.hxx +++ b/sc/source/filter/inc/stylesbuffer.hxx @@ -125,7 +125,7 @@ public: /** Appends a new color from the passed RGBCOLOR record. */ void importPaletteColor( SequenceInputStream& rStrm ); - /** Rturns the RGB value of the color with the passed index. */ + /** Returns the RGB value of the color with the passed index. */ sal_Int32 getColor( sal_Int32 nPaletteIdx ) const; private: diff --git a/sc/source/filter/inc/xlchart.hxx b/sc/source/filter/inc/xlchart.hxx index f7ffec4d4049..9aebff7db4d0 100644 --- a/sc/source/filter/inc/xlchart.hxx +++ b/sc/source/filter/inc/xlchart.hxx @@ -695,7 +695,7 @@ const sal_uInt8 EXC_CH3DDATAFORMAT_CIRC = 1; /// Circular base. const sal_uInt8 EXC_CH3DDATAFORMAT_STRAIGHT = 0; /// Straight to top. const sal_uInt8 EXC_CH3DDATAFORMAT_SHARP = 1; /// Sharp top. -const sal_uInt8 EXC_CH3DDATAFORMAT_TRUNC = 2; /// Shart top, truncated. +const sal_uInt8 EXC_CH3DDATAFORMAT_TRUNC = 2; /// Sharp top, truncated. // (0x1061) CHPIEEXT ---------------------------------------------------------- diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx index a064e57532c4..07f059a71aa8 100644 --- a/sc/source/filter/inc/xlpivot.hxx +++ b/sc/source/filter/inc/xlpivot.hxx @@ -392,7 +392,7 @@ public: /** Returns the text representation of the item. */ inline const OUString& ConvertToText() const { return maText; } - /** Returns true, if the passed iterm equals this item. */ + /** Returns true, if the passed term equals this item. */ bool IsEqual( const XclPCItem& rItem ) const; /** Returns true, if the item type is 'empty'. */ diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index d74f344b1f02..40a287444c91 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1177,7 +1177,7 @@ sal_Int32 getColumnWidth(UnitConverter& rConverter, double nWidth) long nPixel = aDev->LogicToPixel(Point(nCoeff, 0), MapMode(MAP_100TH_MM)).getX(); - // the 1.047 has been experimentally chosen based on measurements witha screen ruler + // the 1.047 has been experimentally chosen based on measurements with a screen ruler // TODO: fix the display of cells so that it no longer requires this hack // algorithm from OOXML spec part1: 18.3.1.13 sal_Int32 nColWidthPixel= std::floor(((256*nWidth + std::floor(128.0/nPixel))/256.0)*nPixel) * 1.047; diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 96838a0bcdd7..93a1bd240409 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2550,7 +2550,7 @@ void ScDocShell::PrepareReload() // The Disconnect of DDE Links can trigger a Reschedule. // If the DDE Links are not deleted before the Document dtor, - // the DDE Link Update for this Document can be triggered ofrom this Reschedule on Reload. + // the DDE Link Update for this Document can be triggered from this Reschedule on Reload. // This causes a hang. // // Thus: Disconnect the DDE Links of the old Document before Reload diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx index 80f9d963447d..60447d90decd 100644 --- a/sc/source/ui/drawfunc/fuconstr.cxx +++ b/sc/source/ui/drawfunc/fuconstr.cxx @@ -74,9 +74,9 @@ Point FuConstruct::CurrentGridSyncOffsetAndPos( Point& rInOutPos ) ScDocument* pDoc = rViewData.GetDocument(); if ( pDoc ) { - // rInOutPos mightn't be where you think it is if there is zoom + // rInOutPos might not be where you think it is if there is zoom // involved. Lets calculate where aPos would be at 100% zoom - // that's the actual correct position for the object ( when you + // that's the actual correct position for the object (when you // restore the zoom. bool bNegative = pDoc->IsNegativePage(pView->GetTab()); Rectangle aObjRect( rInOutPos, rInOutPos ); diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx index 1e2e1dc2d94e..70370dfced08 100644 --- a/sc/source/ui/vba/excelvbahelper.cxx +++ b/sc/source/ui/vba/excelvbahelper.cxx @@ -316,7 +316,7 @@ void setUpDocumentModules( const uno::Reference< sheet::XSpreadsheetDocument >& uno::Reference< script::vba::XVBAModuleInfo > xVBAModuleInfo( xLib, uno::UNO_QUERY_THROW ); uno::Reference< lang::XMultiServiceFactory> xSF( pShell->GetModel(), uno::UNO_QUERY_THROW); uno::Reference< container::XNameAccess > xVBACodeNamedObjectAccess( xSF->createInstance("ooo.vba.VBAObjectModuleObjectProvider"), uno::UNO_QUERY_THROW ); - // set up the module info for the workbook and sheets in the nealy created + // set up the module info for the workbook and sheets in the newly created // spreadsheet ScDocument& rDoc = pShell->GetDocument(); OUString sCodeName = rDoc.GetCodeName(); diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 20b9daf19055..f1cf9fc3d3a0 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -524,7 +524,7 @@ ScVbaApplication::getActiveSheet() throw (uno::RuntimeException, std::exception) * Reference Optional Variant. The destination. Can be a Range * object, a string that contains a cell reference in R1C1-style notation, * or a string that contains a Visual Basic procedure name. - * Scroll Optional Variant. True to scrol, False to not scroll through + * Scroll Optional Variant. True to scroll, False to not scroll through * the window. The default is False. * Parser is split to three parts, Range, R1C1 string and procedure name. * by test excel, it seems Scroll no effect. ??? diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 92a1ea9ebf58..bba58b5367cd 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -3341,7 +3341,7 @@ void updateTableSortField( const uno::Reference< table::XCellRange >& xParentRan table::CellRangeAddress colRowKeyAddress = colRowRange.getCellRangeAddressable()->getRangeAddress(); - // make sure that upper left poing of key range is within the + // make sure that upper left point of key range is within the // parent range if ( ( !bIsSortColumn && colRowKeyAddress.StartColumn >= parentRangeAddress.StartColumn && colRowKeyAddress.StartColumn <= parentRangeAddress.EndColumn ) || ( bIsSortColumn && diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index c89e3f541e8b..38dc2951b059 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -1702,7 +1702,7 @@ bool ScGridWindow::IsCellCoveredByText(SCsCOL nPosX, SCsROW nPosY, SCTAB nTab, S break; } - // the inital cell already contains text + // the initial cell already contains text if (nNonEmptyX == nPosX) { rTextStartPosX = nNonEmptyX; diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 2b4bb74e5ff4..8849b5e82f5e 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1234,7 +1234,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH, long nTop = 0; long nBottom = 0; - // aFrameRect - ouside around frame, without shadow + // aFrameRect - outside around frame, without shadow if ( pShadow && pShadow->GetLocation() != SVX_SHADOW_NONE ) { nLeft += (long) ( pShadow->CalcShadowSpace(SvxShadowItemSide::LEFT) * nScaleX ); @@ -1852,7 +1852,7 @@ long ScPrintFunc::DoNotes( long nNoteStart, bool bDoPrint, ScPreviewLocationData static_cast<const ScPatternAttr&>(pDoc->GetPool()->GetDefaultItem(ATTR_PATTERN)).GetFont( aMarkFont, eColorMode ); pDev->SetFont( aMarkFont ); long nMarkLen = pDev->GetTextWidth(OUString("GW99999:")); - // without Space-Char, because it rarle arrives there + // without Space-Char, because it rarely arrives there Size aDataSize = aPageRect.GetSize(); if ( nMarkLen > aDataSize.Width() / 2 ) // everything much too small? diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index 65e9fd10dcbb..b294c743374a 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -913,7 +913,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich, bool bWasThere = false; if (pEditView[eWhich]) { - // if the view is already therem don't call anything that changes the cursor position + // if the view is already there don't call anything that changes the cursor position if (bEditActive[eWhich]) bWasThere = true; else |