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

Andrea Gelmini andrea.gelmini at gelma.net
Wed Sep 30 00:06:39 PDT 2015


 sc/qa/unit/filters-test.cxx                                                         |    2 +-
 sc/qa/unit/subsequent_export-test.cxx                                               |    4 ++--
 sc/qa/unit/ucalc.cxx                                                                |    4 ++--
 sc/qa/unit/ucalc_formula.cxx                                                        |    2 +-
 sc/qa/unit/ucalc_pivottable.cxx                                                     |    2 +-
 sc/qa/unit/ucalc_sharedformula.cxx                                                  |    2 +-
 sc/source/core/data/attarray.cxx                                                    |    2 +-
 sc/source/core/data/dpfilteredcache.cxx                                             |    2 +-
 sc/source/core/opencl/formulagroupcl.cxx                                            |    2 +-
 sc/source/core/tool/addinlis.cxx                                                    |    2 +-
 scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java |    2 +-
 scripting/source/provider/MasterScriptProvider.cxx                                  |    2 +-
 scripting/source/provider/MasterScriptProvider.hxx                                  |    2 +-
 scripting/source/provider/ScriptImpl.hxx                                            |    2 +-
 scripting/source/pyprov/msgbox.py                                                   |    2 +-
 15 files changed, 17 insertions(+), 17 deletions(-)

New commits:
commit a55c2728453c68f44966fc31b4a483416c43b8f3
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Tue Sep 29 17:57:10 2015 +0200

    Fix typos
    
    Change-Id: Idd4b0f7b6c422abd6790185b5d48082b294bae64
    Reviewed-on: https://gerrit.libreoffice.org/18968
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 2862851..7c4fb33 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -514,7 +514,7 @@ void ScFiltersTest::testLegacyCellAnchoredRotatedShape()
         aAnchor.maStart.SetCol( 5 );
         aAnchor.maEnd.SetRow( 3 );
         aAnchor.maEnd.SetCol( 7 );
-        rDoc.ShowRows(0, 9, 0, true); // show relavent rows
+        rDoc.ShowRows(0, 9, 0, true); // show relevant rows
         rDoc.SetDrawPageSize(0); // trigger recalcpos
 
         // apply hefty (1 mm) tolerance here, as some opensuse tinderbox
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 3b34990..26d7595 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -919,7 +919,7 @@ void ScExportTest::testRichTextExportODS()
         // Set this edit text to cell B2.
         rDoc.SetEditText(ScAddress(1,1,0), pEE->CreateTextObject());
         pEditText = rDoc.GetEditText(ScAddress(1,1,0));
-        CPPUNIT_ASSERT_MESSAGE("Incorret B2 value.", aCheckFunc.checkB2(pEditText));
+        CPPUNIT_ASSERT_MESSAGE("Incorrect B2 value.", aCheckFunc.checkB2(pEditText));
     }
 
     // Now, save and reload this document.
@@ -932,7 +932,7 @@ void ScExportTest::testRichTextExportODS()
         ScFieldEditEngine* pEE = &rDoc2.GetEditEngine();
 
         // Make sure the content of B2 is still intact.
-        CPPUNIT_ASSERT_MESSAGE("Incorret B2 value.", aCheckFunc.checkB2(pEditText));
+        CPPUNIT_ASSERT_MESSAGE("Incorrect B2 value.", aCheckFunc.checkB2(pEditText));
 
         // Insert a multi-line content to B4.
         pEE->Clear();
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 469abc2..d391733 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -5294,7 +5294,7 @@ void Test::testAreasWithNotes()
     dataFound = rDoc.GetPrintAreaVer(0,0,1,row, bNotes); // col 0 & 1
     CPPUNIT_ASSERT_MESSAGE("No PrintAreaVer should be found", !dataFound);
 
-    // now add cells with value, check that notes are taken into accompt in good cases
+    // now add cells with value, check that notes are taken into account in good cases
 
     m_pDoc->SetString(0, 3, 0, "Some Text");
     m_pDoc->SetString(3, 3, 0, "Some Text");
@@ -6609,7 +6609,7 @@ void Test::testCopyPasteMatrixFormula()
     //m_pDoc->SetString(ScAddress(2,1,0), "C2");  // C2
     m_pDoc->SetString(ScAddress(3,1,0), "D2");  // D2
 
-    // Set Vallues to D3
+    // Set Values to D3
     //m_pDoc->SetValue(ScAddress(1,2,0), 9.0);    // B3
     //m_pDoc->SetString(ScAddress(2,2,0), "C3");  // C3
     m_pDoc->SetValue(ScAddress(3,2,0), 11.0);   // D3
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 58d1e6b..c771730 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -1949,7 +1949,7 @@ void Test::testFormulaRefUpdateMove()
     CPPUNIT_ASSERT_EQUAL(2.0, m_pDoc->GetValue(0,10,0));
     CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc->GetValue(0,11,0));
 
-    // Move B4:B6 to D4 (two columsn to the right).
+    // Move B4:B6 to D4 (two columns to the right).
     ScDocFunc& rFunc = getDocShell().GetDocFunc();
     bool bMoved = rFunc.MoveBlock(ScRange(1,3,0,1,5,0), ScAddress(3,3,0), true, false, false, false);
     CPPUNIT_ASSERT_MESSAGE("Failed to move B4:B6.", bMoved);
diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx
index 96da933..1e78f23 100644
--- a/sc/qa/unit/ucalc_pivottable.cxx
+++ b/sc/qa/unit/ucalc_pivottable.cxx
@@ -2124,7 +2124,7 @@ void Test::testFuncGETPIVOTDATA()
     }
 
     aPos = aOutRange.aEnd;
-    aPos.IncRow(2); // Move 2 rows down from the table outout.
+    aPos.IncRow(2); // Move 2 rows down from the table output.
 
     OUString aPivotPosStr(aOutRange.aStart.Format(SCA_ABS));
 
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx
index dc2782c7..3c1a0e3 100644
--- a/sc/qa/unit/ucalc_sharedformula.cxx
+++ b/sc/qa/unit/ucalc_sharedformula.cxx
@@ -314,7 +314,7 @@ void Test::testSharedFormulasRefUpdate()
     pFC = m_pDoc->GetFormulaCell(ScAddress(1,2,0));
     CPPUNIT_ASSERT_MESSAGE("B3 should be a non-shared formula cell.", pFC && !pFC->IsShared());
 
-    // Delelte cells over A11:B11 to bring it back to the previous state.
+    // Delete cells over A11:B11 to bring it back to the previous state.
     m_pDoc->DeleteCol(ScRange(0,10,0,1,10,0));
 
     if (!checkFormula(*m_pDoc, ScAddress(1,0,0), "A10"))
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 4c120df..38b34d3 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -1279,7 +1279,7 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const
                         // well it is not true that we found one
                         // but existing one + cell where conditional
                         // formatting does not remove it
-                        // => we should use the existing protection settting
+                        // => we should use the existing protection setting
                         bFoundCond = bFoundTemp;
                     }
                 }
diff --git a/sc/source/core/data/dpfilteredcache.cxx b/sc/source/core/data/dpfilteredcache.cxx
index eacff34..9c4cdb2 100644
--- a/sc/source/core/data/dpfilteredcache.cxx
+++ b/sc/source/core/data/dpfilteredcache.cxx
@@ -366,7 +366,7 @@ void ScDPFilteredCache::filterTable(const vector<Criterion>& rCriteria, Sequence
         tableData.push_back(row);
     }
 
-    // convert vector to Seqeunce
+    // convert vector to Sequence
     sal_Int32 nTabSize = static_cast<sal_Int32>(tableData.size());
     rTabData.realloc(nTabSize);
     for (sal_Int32 i = 0; i < nTabSize; ++i)
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index 8fab03d..d8d5861 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -3769,7 +3769,7 @@ DynamicKernel::~DynamicKernel()
 
 void DynamicKernel::CodeGen()
 {
-    // Travese the tree of expression and declare symbols used
+    // Traverse the tree of expression and declare symbols used
     const DynamicKernelArgument* DK = mSyms.DeclRefArg<DynamicKernelSoPArguments>(mCalcConfig, mpRoot, new OpNop(mnResultSize), mnResultSize);
 
     std::stringstream decl;
diff --git a/sc/source/core/tool/addinlis.cxx b/sc/source/core/tool/addinlis.cxx
index d0e3c46..69885b8 100644
--- a/sc/source/core/tool/addinlis.cxx
+++ b/sc/source/core/tool/addinlis.cxx
@@ -93,7 +93,7 @@ void ScAddInListener::RemoveDocument( ScDocument* pDocumentP )
                 (*iter)->release(); // Ref for aAllListeners - pLst may be deleted here
 
                 // this AddIn is no longer used
-                // dont delete, just remove the ref for the list
+                // don't delete, just remove the ref for the list
 
                 iter = aAllListeners.erase( iter );
                 continue;
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
index 21d78d4..25b6f1c 100644
--- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
+++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java
@@ -580,4 +580,4 @@ public class SecurityDialog extends WeakBase implements
             LogUtils.DEBUG("** checkbox state ->" + _checkBoxState);
         }
     }
-}
\ No newline at end of file
+}
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index a632521..b1934e0 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -188,7 +188,7 @@ throw ( Exception, RuntimeException, std::exception )
     }
     else // no args
     {
-        // use either scriping context or maybe zero args?
+        // use either scripting context or maybe zero args?
         invokeArgs = Sequence< Any >( 0 ); // no arguments
     }
     m_sAargs = invokeArgs;
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx
index ef69111..b003626c 100644
--- a/scripting/source/provider/MasterScriptProvider.hxx
+++ b/scripting/source/provider/MasterScriptProvider.hxx
@@ -127,7 +127,7 @@ private:
 
     // This component supports XInitialization, it can be created
     // using createInstanceXXX() or createInstanceWithArgumentsXXX using
-    // the service Mangager.
+    // the service Manager.
     // Need to detect proper initialisation and validity
     // for the object, so m_bIsValid indicates that the object is valid is set in ctor
     // in case of createInstanceWithArgumentsXXX() called m_bIsValid is set to reset
diff --git a/scripting/source/provider/ScriptImpl.hxx b/scripting/source/provider/ScriptImpl.hxx
index 7f3a508..c8758f3 100644
--- a/scripting/source/provider/ScriptImpl.hxx
+++ b/scripting/source/provider/ScriptImpl.hxx
@@ -71,7 +71,7 @@ public:
 
       @throws CannotConvertException
             if args do not match or cannot be converted the those
-            of the invokee
+            of the invoked
 
       @throws InvocationTargetException
             if the running script throws an exception this information is captured and
diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py
index 50ac5e6..16405f7 100644
--- a/scripting/source/pyprov/msgbox.py
+++ b/scripting/source/pyprov/msgbox.py
@@ -41,7 +41,7 @@ class MsgBox(unohelper.Base):
         self.smgr = aContext.ServiceManager
         # UI Dialog object
         self.dialog=None
-        # List of openned Listeners
+        # List of opened Listeners
         self.lst_listeners={}
         #UI parameters
         self.ButtonSize = 50


More information about the Libreoffice-commits mailing list