diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /sc/source/ui | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/app/inputhdl.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessibleContextBase.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/output.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/simpref.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaborders.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbachart.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbawindow.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbooks.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbawsfunction.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 6 |
13 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index eff6c2902049..1e9a82e88cd7 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -1585,7 +1585,7 @@ void ScInputHandler::NextAutoEntry( bool bBack ) void ScInputHandler::UpdateParenthesis() { // Find parentheses - //TODO: Can we disable parentheses highlighting per paranthesis? + //TODO: Can we disable parentheses highlighting per parentheses? bool bFound = false; if ( bFormulaMode && eMode != SC_INPUT_TOP ) { diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 3e72f643ab3c..534a921df464 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1086,7 +1086,7 @@ void ScInputBarGroup::TriggerToolboxLayout() SfxViewFrame* pViewFrm = SfxViewFrame::Current(); // Capture the vertical position of this window in the toolbar, when we increase - // the size of the toolbar to accomadate expanded line input we need to take this + // the size of the toolbar to accommodate expanded line input we need to take this // into account if ( !nVertOffset ) nVertOffset = rParent.GetItemPosRect( rParent.GetItemCount() - 1 ).Top(); @@ -2420,7 +2420,7 @@ void ScPosWnd::DoEnter() } else { - // for all selection types, excecute the SID_CURRENTCELL slot. + // for all selection types, execute the SID_CURRENTCELL slot. if (eType == SC_NAME_INPUT_CELL || eType == SC_NAME_INPUT_RANGE) { // Note that SID_CURRENTCELL always expects address to diff --git a/sc/source/ui/inc/AccessibleContextBase.hxx b/sc/source/ui/inc/AccessibleContextBase.hxx index 04d867e227e3..7cad584e7a09 100644 --- a/sc/source/ui/inc/AccessibleContextBase.hxx +++ b/sc/source/ui/inc/AccessibleContextBase.hxx @@ -306,7 +306,7 @@ protected: private: /** Description of this object. This is not a constant because it can - be set from the outside. Furthermore, it changes according the the + be set from the outside. Furthermore, it changes according to the draw page's display mode. */ OUString msDescription; diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx index 8a9649848ba4..ffb6bea95872 100644 --- a/sc/source/ui/inc/output.hxx +++ b/sc/source/ui/inc/output.hxx @@ -158,7 +158,7 @@ private: SCCOL nX2; SCROW nY2; SCCOL nVisX1; // Start-/End coordinates - SCROW nVisY1; // ( visable range ) + SCROW nVisY1; // ( visible range ) SCCOL nVisX2; SCROW nVisY2; ScOutputType eType; // Screen/Printer ... diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx index a150b8646c66..93cb3e06d96d 100644 --- a/sc/source/ui/miscdlgs/simpref.cxx +++ b/sc/source/ui/miscdlgs/simpref.cxx @@ -52,7 +52,7 @@ ScSimpleRefDlg::ScSimpleRefDlg(SfxBindings* pB, SfxChildWindow* pCW, vcl::Window get(m_pBtnOk, "ok"); get(m_pBtnCancel, "cancel"); - // in order to keep the the Strings with the FixedTexts in the resource: + // in order to keep the Strings with the FixedTexts in the resource: Init(); SetDispatcherLock( true ); // activate modal mode } diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx index 1bd506dabdd0..1056713f03ef 100644 --- a/sc/source/ui/vba/vbaborders.cxx +++ b/sc/source/ui/vba/vbaborders.cxx @@ -43,7 +43,7 @@ static const sal_Int16 supportedIndexTable[] = { XlBordersIndex::xlEdgeLeft, Xl static const char sTableBorder[] = "TableBorder"; -// Equiv widths in in 1/100 mm +// Equiv widths in 1/100 mm const static sal_Int32 OOLineThin = 35; const static sal_Int32 OOLineMedium = 88; const static sal_Int32 OOLineThick = 141; diff --git a/sc/source/ui/vba/vbachart.cxx b/sc/source/ui/vba/vbachart.cxx index 4f495e669da3..f9f8db7e93d4 100644 --- a/sc/source/ui/vba/vbachart.cxx +++ b/sc/source/ui/vba/vbachart.cxx @@ -68,7 +68,7 @@ const OUString HASLEGEND("HasLegend"); ScVbaChart::ScVbaChart( const css::uno::Reference< ov::XHelperInterface >& _xParent, const css::uno::Reference< css::uno::XComponentContext >& _xContext, const css::uno::Reference< css::lang::XComponent >& _xChartComponent, const css::uno::Reference< css::table::XTableChart >& _xTableChart ) : ChartImpl_BASE( _xParent, _xContext ), mxTableChart( _xTableChart ) { mxChartDocument.set( _xChartComponent, uno::UNO_QUERY_THROW ) ; - // #TODO is is possible that the XPropertySet interface is not set + // #TODO is it possible that the XPropertySet interface is not set // code in setPlotBy seems to indicate that this is possible? but // additionally there is no check in most of the places where it is used // ( and therefore could possibly be NULL ) diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index a06ca8e24423..3768613a3a08 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -4190,7 +4190,7 @@ ScVbaRange::getWorksheet() throw (uno::RuntimeException, std::exception) uno::Reference< excel::XRange > ScVbaRange::ApplicationRange( const uno::Reference< uno::XComponentContext >& xContext, const css::uno::Any &Cell1, const css::uno::Any &Cell2 ) throw (css::uno::RuntimeException) { - // Althought the documentation seems clear that Range without a + // Although the documentation seems clear that Range without a // qualifier then it's a shortcut for ActiveSheet.Range // however, similarly Application.Range is apparently also a // shortcut for ActiveSheet.Range diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 85729b5612d5..13226103cdcc 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -329,7 +329,7 @@ ScVbaWindow::getCaption() throw (uno::RuntimeException, std::exception) static const char sDot[] = "."; // starts with title if ( sName.startsWith( sTitle ) ) - // extention starts immediately after + // extension starts immediately after if ( sName.match( sDot, sTitle.getLength() ) ) sTitle = sName; } diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx index fc36732a557b..1446bea2a8d8 100644 --- a/sc/source/ui/vba/vbaworkbooks.cxx +++ b/sc/source/ui/vba/vbaworkbooks.cxx @@ -105,7 +105,7 @@ ScVbaWorkbooks::getElementType() throw (uno::RuntimeException) uno::Reference< container::XEnumeration > ScVbaWorkbooks::createEnumeration() throw (uno::RuntimeException) { - // #FIXME its possible the WorkBookEnumImpl here doens't reflect + // #FIXME its possible the WorkBookEnumImpl here doesn't reflect // the state of this object ( although it should ) would be // safer to create an enumeration based on this objects state // rather than one effectively based of the desktop component diff --git a/sc/source/ui/vba/vbawsfunction.cxx b/sc/source/ui/vba/vbawsfunction.cxx index c3f066c4f70f..76a49b8c9894 100644 --- a/sc/source/ui/vba/vbawsfunction.cxx +++ b/sc/source/ui/vba/vbawsfunction.cxx @@ -186,7 +186,7 @@ ScVbaWSFunction::invoke(const OUString& FunctionName, const uno::Sequence< uno:: aRet = xFunctionAccess->callFunction( FunctionName, aParamTemp ); } - /* Convert return value from double to to Boolean for some functions that + /* Convert return value from double to Boolean for some functions that return Booleans. */ typedef uno::Sequence< uno::Sequence< uno::Any > > AnySeqSeq; if( (eOpCode == ocIsEmpty) || (eOpCode == ocIsString) || (eOpCode == ocIsNonString) || (eOpCode == ocIsLogical) || diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index ac8365df13b1..3560e0bb7182 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -1670,7 +1670,7 @@ void ScPrintFunc::MakeEditEngine() pEditEngine = new ScHeaderEditEngine( EditEngine::CreatePool(), true ); pEditEngine->EnableUndo(false); - //fdo#45869 we want text to be positioned as it would be for the the + //fdo#45869 we want text to be positioned as it would be for the //high dpi printed output, not as would be ideal for the 96dpi preview //window itself pEditEngine->SetRefDevice(pPrinter ? pPrinter : pDoc->GetRefDevice()); diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index b06a8b6f7cdc..d9fc03a3519f 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -129,7 +129,7 @@ bool ScViewFunc::TestFormatArea( SCCOL nCol, SCROW nRow, SCTAB nTab, bool bAttrC return false; // Test: treat input with numberformat (bAttrChanged) always as new Attribute - // (discard old Area ). If not not wanted, discard if-statement + // (discard old Area ). If not wanted, discard if-statement if ( bAttrChanged ) { StartFormatArea(); @@ -2137,7 +2137,7 @@ void ScViewFunc::SetMarkedWidthOrHeight( bool bWidth, ScSizeMode eMode, sal_uInt void ScViewFunc::ModifyCellSize( ScDirection eDir, bool bOptimal ) { //! step size adjustable - // step size is also minumum + // step size is also minimum sal_uInt16 nStepX = STD_COL_WIDTH / 5; sal_uInt16 nStepY = ScGlobal::nStdRowHeight; @@ -2553,7 +2553,7 @@ void ScViewFunc::ChangeNumFmtDecimals( bool bIncrement ) if (nPrecision) --nPrecision; // decrement else - bError = true; // 0 is minumum + bError = true; // 0 is minimum } } |