[Libreoffice-commits] core.git: scaddins/source scripting/source sc/source sd/qa

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 25 17:24:41 UTC 2017


 sc/source/ui/app/inputwin.cxx                      |    2 +-
 sc/source/ui/dbgui/pfiltdlg.cxx                    |    2 +-
 sc/source/ui/dialogs/searchresults.cxx             |    2 +-
 sc/source/ui/src/scfuncs.src                       |    2 +-
 sc/source/ui/unoobj/docuno.cxx                     |    2 +-
 sc/source/ui/unoobj/shapeuno.cxx                   |    2 +-
 sc/source/ui/vba/vbarange.cxx                      |    4 ++--
 sc/source/ui/vba/vbavalidation.cxx                 |    2 +-
 sc/source/ui/vba/vbaworksheets.cxx                 |    2 +-
 sc/source/ui/view/output.cxx                       |    4 ++--
 sc/source/ui/view/output2.cxx                      |    4 ++--
 sc/source/ui/view/preview.cxx                      |    2 +-
 sc/source/ui/view/tabcont.cxx                      |    2 +-
 scaddins/source/datefunc/datefunc.cxx              |    2 +-
 scaddins/source/pricing/black_scholes.cxx          |    2 +-
 scripting/source/protocolhandler/scripthandler.cxx |    2 +-
 sd/qa/unit/dialogs-test.cxx                        |    4 ++--
 17 files changed, 21 insertions(+), 21 deletions(-)

New commits:
commit 5a72da3d979d88442ea5b7f1f54ba9811173ec64
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Mar 24 12:46:41 2017 +0100

    Fix typos
    
    Change-Id: I4e1a613fc99b931e84a1955695364e1d25e25e5c
    Reviewed-on: https://gerrit.libreoffice.org/35642
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 433f5f61c01d..f9e03970f103 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -950,7 +950,7 @@ void ScInputBarGroup::TriggerToolboxLayout()
             xLayoutManager->lock();
             DataChangedEvent aFakeUpdate( DataChangedEventType::SETTINGS, nullptr,  AllSettingsFlags::STYLE );
 
-            // this basically will trigger the reposititioning of the
+            // this basically will trigger the repositioning of the
             // items in the toolbar from ImplFormat ( which is controlled by
             // mnWinHeight ) which in turn is updated in ImplCalcItem which is
             // controlled by mbCalc. Additionally the ImplFormat above is
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx
index 98d1d6b8debf..e0f0e9ec3b06 100644
--- a/sc/source/ui/dbgui/pfiltdlg.cxx
+++ b/sc/source/ui/dbgui/pfiltdlg.cxx
@@ -546,7 +546,7 @@ IMPL_LINK( ScPivotFilterDlg, ValModifyHdl, Edit&, rEd, void )
     if ( &rEd == m_pEdVal2 ) pLb = m_pLbCond2;
     else if ( &rEd == m_pEdVal3 ) pLb = m_pLbCond3;
 
-    // if ond of the special values "empty"/"non-empty" was chosen only the
+    // if cond of the special values "empty"/"non-empty" was chosen only the
     // =-operand makes sense:
 
     if ( aStrEmpty.equals(aStrVal) || aStrNotEmpty.equals(aStrVal) )
diff --git a/sc/source/ui/dialogs/searchresults.cxx b/sc/source/ui/dialogs/searchresults.cxx
index 0cffca7e4c58..897c8ecae6c5 100644
--- a/sc/source/ui/dialogs/searchresults.cxx
+++ b/sc/source/ui/dialogs/searchresults.cxx
@@ -120,7 +120,7 @@ void SearchResultsDlg::FillResults( ScDocument* pDoc, const ScRangeList &rMatche
     {
         for (size_t i = 0, n = nMatchMax; i < n; ++i)
         {
-            /* TODO: a CellNotes iterator would come handy and migt speed
+            /* TODO: a CellNotes iterator would come handy and might speed
              * things up a little, though we only loop through the
              * search/replace result positions here. */
             ScRange aRange( *rMatchedRanges[i] );
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index 05422b62a4b9..2584abe3105f 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -2341,7 +2341,7 @@ StringArray SC_OPCODE_MEDIAN+RID_SC_FUNC_DESCRIPTIONS_START
         < "Number 1, number 2, ... are 1 to 30 numerical arguments which portray a sample." ; >;
     };
 };
- // -=*# Resource for function PERCENTIL #*=-
+ // -=*# Resource for function PERCENTILE #*=-
 StringArray SC_OPCODE_PERCENTILE+RID_SC_FUNC_DESCRIPTIONS_START
 {
     ItemList [ en-US ] =
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index e794ea8c4bc8..4f43c9d77244 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -4072,7 +4072,7 @@ ScAnnotationsObj::~ScAnnotationsObj()
 
 void ScAnnotationsObj::Notify( SfxBroadcaster&, const SfxHint& rHint )
 {
-    //! adjust nTab when updatig references!!!
+    //! adjust nTab when updating references!!!
 
     if ( rHint.GetId() == SfxHintId::Dying )
     {
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index f53ad8d6708d..8c08a3aad1db 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -414,7 +414,7 @@ void SAL_CALL ScShapeObj::setPropertyValue(const OUString& aPropertyName, const
                                         ScDrawObjData aAnchor;
                                         aAnchor.maStart = ScAddress(aAddress.StartColumn, aAddress.StartRow, aAddress.Sheet);
                                         aAnchor.maStartOffset = Point(aRelPoint.X, aRelPoint.Y);
-                                        //Uno sets the Anchor in terms of the unorotated shape, not much we can do
+                                        //Uno sets the Anchor in terms of the unrotated shape, not much we can do
                                         //about that since uno also displays the shape geometry in terms of the unrotated
                                         //shape. #TODO think about changing the anchoring behaviour here too
                                         //Currently we've only got a start anchor, not an end-anchor, so generate that now
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 534c2922fdc4..83cffc745268 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1684,7 +1684,7 @@ ScVbaRange::getFormulaValue( formula::FormulaGrammar::Grammar eGram )
 void
 ScVbaRange::setFormula(const uno::Any &rFormula )
 {
-    // #FIXME converting "=$a$1" e.g. CONV_XL_A1 -> CONV_OOO                            // results in "=$a$1:a1", temporalily disable conversion
+    // #FIXME converting "=$a$1" e.g. CONV_XL_A1 -> CONV_OOO                            // results in "=$a$1:a1", temporarily disable conversion
     setFormulaValue( rFormula,formula::FormulaGrammar::GRAM_NATIVE_XL_A1 );
 }
 
@@ -2744,7 +2744,7 @@ ScVbaRange::Range( const uno::Any &Cell1, const uno::Any &Cell2, bool bForceUseI
         if ( bForceUseInpuRangeTab )
         {
             // this is a call from Application.Range( x,y )
-            // its possiblefor x or y to specify a different sheet from
+            // it's possible for x or y to specify a different sheet from
             // the current or active on ( but they must be the same )
             if ( cell1.Sheet != cell2.Sheet )
                 throw uno::RuntimeException();
diff --git a/sc/source/ui/vba/vbavalidation.cxx b/sc/source/ui/vba/vbavalidation.cxx
index e2e75009a35d..c47c3bf12383 100644
--- a/sc/source/ui/vba/vbavalidation.cxx
+++ b/sc/source/ui/vba/vbavalidation.cxx
@@ -210,7 +210,7 @@ ScVbaValidation::Delete(  )
     lcl_setValidationProps( m_xRange, xProps );
 }
 
-// Fix the defect that validatation cannot work when the input should be limited between a lower bound and an upper bound
+// Fix the defect that validation cannot work when the input should be limited between a lower bound and an upper bound
 void SAL_CALL
 ScVbaValidation::Add( const uno::Any& Type, const uno::Any& AlertStyle, const uno::Any& Operator, const uno::Any& Formula1, const uno::Any& Formula2 )
 {
diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx
index e4accbffbab9..ac4ec9424269 100644
--- a/sc/source/ui/vba/vbaworksheets.cxx
+++ b/sc/source/ui/vba/vbaworksheets.cxx
@@ -373,7 +373,7 @@ ScVbaWorksheets::Select( const uno::Any& Replace )
     ScMarkData& rMarkData = pViewShell->GetViewData().GetMarkData();
     bool bReplace = true;
     Replace >>= bReplace;
-    // Replace is defaulted to True, meanining this current collection
+    // Replace is defaulted to True, meaning this current collection
     // becomes the Selection, if it were false then the current selection would
     // be extended
     bool bSelectSingle = bReplace;
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 8382d983883d..78cd2b7f29b0 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -334,7 +334,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool
     //   * when bWorksInPixels is false: these are in the logic units
     //
     // This is where all the confusion comes from, ultimately we want them
-    // always in the logic units (100th of millimiters), but we need to get
+    // always in the logic units (100th of millimeters), but we need to get
     // there gradually (get rid of setting MapUnit::MapPixel first), otherwise we'd
     // break all the drawing by one change.
     // So until that happens, we need to special case.
@@ -2295,7 +2295,7 @@ void ScOutputData::DrawChangeTrack()
     ScActionColorChanger aColorChanger(*pTrack);
 
     //  clipping happens from the outside
-    //! without clipping, only paínt affected cells ??!??!?
+    //! without clipping, only paint affected cells ??!??!?
 
     SCCOL nEndX = nX2;
     SCROW nEndY = nY2;
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index d19365816222..f0060f630b5b 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -292,7 +292,7 @@ void ScDrawStringsVars::SetPattern(
     pPattern = pNew;
     pCondSet = pSet;
 
-    // évaluate pPattern
+    // evaluate pPattern
 
     OutputDevice* pDev = pOutput->mpDev;
     OutputDevice* pRefDevice = pOutput->mpRefDevice;
@@ -2025,7 +2025,7 @@ Rectangle ScOutputData::LayoutStrings(bool bPixelToLogic, bool bPaint, const ScA
                         {
                             // If the string is clipped, make it shorter for
                             // better performance since drawing by HarfBuzz is
-                            // quite expensive especiall for long string.
+                            // quite expensive especially for long string.
 
                             OUString aShort = aString;
 
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 87446dc62b75..81af4b4273fe 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -350,7 +350,7 @@ void ScPreview::DoPrint( ScPreviewLocationData* pFillLocation )
     {
         CalcPages();
         RecalcPages();
-        UpdateDrawView();       // Spreedsheet eventually changes
+        UpdateDrawView();       // Spreadsheet eventually changes
     }
 
     Fraction aPreviewZoom( nZoom, 100 );
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 6061efcba88c..c492df811bd3 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -301,7 +301,7 @@ void ScTabControl::Select()
     rBind.Invalidate( SID_TABLE_CELL );
 
         // SetReference onlw when the consolidate dialog is open
-        // (for referenzes over multiple sheets)
+        // (for references over multiple sheets)
         // for others this is only needed fidgeting
 
     if ( bRefMode && pViewData->GetRefType() == SC_REFTYPE_REF )
diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx
index 98205fb75f82..5e862a971f48 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -721,7 +721,7 @@ sal_Int32 SAL_CALL ScaDateAddIn::getDaysInYear(
  * Get number of weeks in the year for a date
  *
  * Most years have 52 weeks, but years that start on a Thursday
- * and leapyears that start on a Wednesday have 53 weeks
+ * and leap years that start on a Wednesday have 53 weeks
  *
  * The International Standard IS-8601 has decreed that Monday
  * shall be the first day of the week.
diff --git a/scaddins/source/pricing/black_scholes.cxx b/scaddins/source/pricing/black_scholes.cxx
index 95fa888a87ff..8a8cd1eb88da 100644
--- a/scaddins/source/pricing/black_scholes.cxx
+++ b/scaddins/source/pricing/black_scholes.cxx
@@ -31,7 +31,7 @@
 //   - vanilla put/call:  putcall() = +/- ( binasset() - K*bincash() )
 //   - truncated put/call (barriers active at maturity only)
 
-// (3) write a wrapper function to include all vanilla pricers
+// (3) write a wrapper function to include all vanilla prices
 //   - this is so we don't duplicate code when pricing barriers
 //     as this is derived from vanillas
 
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx
index 30be7b53a730..50188ae52e74 100644
--- a/scripting/source/protocolhandler/scripthandler.cxx
+++ b/scripting/source/protocolhandler/scripthandler.cxx
@@ -166,7 +166,7 @@ void SAL_CALL ScriptProtocolHandler::dispatchWithNotification(
                         {
                             SAL_WARN("scripting",
                                 "ScriptProtocolHandler::dispatchWithNotification: caught RuntimeException"
-                                "while dispatchFinished with failture of the execution "
+                                "while dispatchFinished with failure of the execution "
                                 << e.Message );
                         }
                     }
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index cf358470d82a..8ddcb6ba9678 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -68,7 +68,7 @@ private:
     SdAbstractDialogFactory*                mpFact;
     SdXImpressDocument*                     mpImpressDocument;
 
-    /// on-demand created instances required for varoius dialogs to open
+    /// on-demand created instances required for various dialogs to open
     ::sd::DrawDocShell*                     mpDocShell;
     ::sd::ViewShell*                        mpViewShell;
     ::sd::DrawView*                         mpDrawView;
@@ -576,7 +576,7 @@ VclPtr<VclAbstractDialog> SdDialogsTest::createDialogByID(sal_uInt32 nID)
         {
             // CreateHeaderFooterDialog(sd::ViewShell* pViewShell, vcl::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage) override;
             // This is a hard case, for two reasons:
-            // - It uses BaseClass TabPage which hase a very spartse interface,
+            // - It uses BaseClass TabPage which has a very sparse interface,
             //   need to add 'Screenshot interface' there and implement
             // - The concrete dialog has two TabPages which use the *same*
             //   .ui file, so extended markup will be needed to differ these two


More information about the Libreoffice-commits mailing list