[Libreoffice-commits] core.git: sc/inc sc/qa sc/source sd/source sfx2/classification smoketest/data svl/source svx/source

Andrea Gelmini andrea.gelmini at gelma.net
Sat Mar 11 12:17:22 UTC 2017


 sc/inc/document.hxx                                               |    2 +-
 sc/qa/unit/ucalc.cxx                                              |    4 ++--
 sc/source/core/data/column2.cxx                                   |    2 +-
 sc/source/core/data/document.cxx                                  |    8 ++++----
 sc/source/core/data/documentimport.cxx                            |    2 +-
 sc/source/core/tool/addincol.cxx                                  |    2 +-
 sc/source/filter/inc/biffhelper.hxx                               |    2 +-
 sc/source/filter/inc/pivotcachebuffer.hxx                         |    2 +-
 sc/source/filter/xml/xmlexprt.cxx                                 |    2 +-
 sc/source/ui/vba/vbaworkbook.cxx                                  |    4 ++--
 sd/source/ui/func/futext.cxx                                      |    4 ++--
 sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx |    2 +-
 sfx2/classification/xAL-types.xsd                                 |    2 +-
 sfx2/classification/xNL-types.xsd                                 |    2 +-
 smoketest/data/Basic/Standard/Global.xml                          |    2 +-
 svl/source/filerec/filerec.cxx                                    |    2 +-
 svx/source/tbxctrls/linectrl.cxx                                  |    2 +-
 17 files changed, 23 insertions(+), 23 deletions(-)

New commits:
commit 66891aaebe089594fea38368b23800505fc6a0e4
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Sat Mar 11 00:54:11 2017 +0100

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

diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index e220602..ff87671 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1796,7 +1796,7 @@ public:
     SCROW           GetNextDifferentChangedRow( SCTAB nTab, SCROW nStart) const;
 
     // returns whether to export a Default style for this col or not
-    // nDefault is setted to one position in the current row where the Default style is
+    // nDefault is set to one position in the current row where the Default style is
     void            GetColDefault( SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW& nDefault);
 
     bool            UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bShow );
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 40a2801..4fda600 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -6734,7 +6734,7 @@ void Test::testPrecisionAsShown()
         fExpectedRoundVal = -10.0;
         checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
     }
-    {   // thousand rounding buguous!!!! tdf#106253
+    {   // thousand rounding bogus!!!! tdf#106253
         aCode = "0,,";
         fValue = 4.0e9 / 7.0;
         fExpectedRoundVal = 571e6; // actual is 571428571
@@ -6760,7 +6760,7 @@ void Test::testPrecisionAsShown()
         fValue = 4.0 / 70000.0;
         fExpectedRoundVal = 5.71e-5;
         checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
-        // engineering rounding bugous!!! tdf#106252
+        // engineering rounding bogus!!! tdf#106252
         aCode = "##0.000E0";
         fValue = 400000.0 / 7.0;
         fExpectedRoundVal = 57143.0; // actual is 57140
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index c61667c..4dbac3f 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -388,7 +388,7 @@ long ScColumn::GetNeededSize(
             SfxItemSet* pFontSet = pDocument->GetPreviewFont( nCol, nRow, nTab );
             pPattern->FillEditItemSet( pSet, pFontSet ? pFontSet : pCondSet );
         }
-//          no longer needed, are setted with the text (is faster)
+//          no longer needed, are set with the text (is faster)
 //          pEngine->SetDefaults( pSet );
 
         if ( static_cast<const SfxBoolItem&>(pSet->Get(EE_PARA_HYPHENATE)).GetValue() ) {
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 9df69da..64bad94 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1269,7 +1269,7 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
     bool bTest = true;
     bool bRet = false;
     bool bOldAutoCalc = GetAutoCalc();
-    SetAutoCalc( false );   // avoid mulitple calculations
+    SetAutoCalc( false );   // avoid multiple calculations
     for ( i = nStartTab; i <= nEndTab && bTest && i < static_cast<SCTAB>(maTabs.size()); i++)
         if (maTabs[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
             bTest &= maTabs[i]->TestInsertRow(nStartCol, nEndCol, nStartRow, nSize);
@@ -3758,7 +3758,7 @@ bool ScDocument::HasSelectionData( SCCOL nCol, SCROW nRow, SCTAB nTab ) const
 void ScDocument::CheckVectorizationState()
 {
     bool bOldAutoCalc = GetAutoCalc();
-    bAutoCalc = false;      // no mulitple calculations
+    bAutoCalc = false;      // no multiple calculations
 
     TableContainer::iterator it = maTabs.begin();
     for (; it != maTabs.end(); ++it)
@@ -3771,7 +3771,7 @@ void ScDocument::CheckVectorizationState()
 void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
 {
     bool bOldAutoCalc = GetAutoCalc();
-    bAutoCalc = false;      // no mulitple calculations
+    bAutoCalc = false;      // no multiple calculations
     {   // scope for bulk broadcast
         ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
         TableContainer::iterator it = maTabs.begin();
@@ -3792,7 +3792,7 @@ void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
 void ScDocument::SetDirty( const ScRange& rRange, bool bIncludeEmptyCells )
 {
     bool bOldAutoCalc = GetAutoCalc();
-    bAutoCalc = false;      // no mulitple calculations
+    bAutoCalc = false;      // no multiple calculations
     {   // scope for bulk broadcast
         ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
         SCTAB nTab2 = rRange.aEnd.Tab();
diff --git a/sc/source/core/data/documentimport.cxx b/sc/source/core/data/documentimport.cxx
index 7c6ec98..98e0faf 100644
--- a/sc/source/core/data/documentimport.cxx
+++ b/sc/source/core/data/documentimport.cxx
@@ -512,7 +512,7 @@ class CellStoreInitializer
     //
     // The problem with having the attributes in CellStoreInitializer
     // directly is that, as a functor, it might be copied around. In
-    // that case miPos in _copied_ object points ot maAttrs in the
+    // that case miPos in _copied_ object points to maAttrs in the
     // original object, not in the copy. So later, deep in mdds, we end
     // up comparing iterators from different sequences.
     //
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx
index fdf9245..1c84db0 100644
--- a/sc/source/core/tool/addincol.cxx
+++ b/sc/source/core/tool/addincol.cxx
@@ -466,7 +466,7 @@ void ScUnoAddInCollection::ReadConfiguration()
                         for ( sal_Int32 nLocale = 0; nLocale < nLocaleCount; nLocale++ )
                         {
                             // PropertyValue name is the locale ("convert" from
-                            // string to string to canonicalize)
+                            // string to canonicalize)
                             OUString aLocale( LanguageTag( pConfigArray[nLocale].Name, true).getBcp47( false));
                             // PropertyValue value is the localized value (string in this case)
                             OUString aName;
diff --git a/sc/source/filter/inc/biffhelper.hxx b/sc/source/filter/inc/biffhelper.hxx
index f988598..a7b393b 100644
--- a/sc/source/filter/inc/biffhelper.hxx
+++ b/sc/source/filter/inc/biffhelper.hxx
@@ -281,7 +281,7 @@ const sal_uInt16 BIFF_ID_PCITEM_STRING      = 0x00CD;
 
 const sal_uInt16 BIFF_ID_UNKNOWN            = SAL_MAX_UINT16;
 
-/* Many of thse constants might be unused, but please keep for documentation. If you notice
+/* Many of these constants might be unused, but please keep for documentation. If you notice
  * hardcoded numbers in the code that actually correspond in meaning in the context (not just value)
  * to one of the named constants, feel free to change it to use the constant instead, of course.
  */
diff --git a/sc/source/filter/inc/pivotcachebuffer.hxx b/sc/source/filter/inc/pivotcachebuffer.hxx
index fe867c6..a3012f4 100644
--- a/sc/source/filter/inc/pivotcachebuffer.hxx
+++ b/sc/source/filter/inc/pivotcachebuffer.hxx
@@ -168,7 +168,7 @@ struct PCFieldGroupModel
     bool                mbDateGroup;        /// True = items are grouped by date ranges or by item names.
     bool                mbAutoStart;        /// True = start value for range groups is calculated from source data.
     bool                mbAutoEnd;          /// True = end value for range groups is calculated from source data.
-    OUString            msFinalGroupName ;  /// Finalized group name of this field used in internal pivot table collaction.
+    OUString            msFinalGroupName ;  /// Finalized group name of this field used in internal pivot table collection.
 
 
     explicit            PCFieldGroupModel();
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 1108371..56be7c5 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -1858,7 +1858,7 @@ void ScXMLExport::ExportContent_()
         SCTAB nTableCount(0);
         sal_Int32 nShapesCount(0);
         CollectSharedData(nTableCount, nShapesCount);
-        OSL_FAIL("no shared data setted");
+        OSL_FAIL("no shared data set");
         if (!pSharedData)
             return;
     }
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index fdecac1..145cab4 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -312,8 +312,8 @@ ScVbaWorkbook::SaveAs( const uno::Any& FileName, const uno::Any& FileFormat, con
     FileName >>= sFileName;
     OUString sURL;
     osl::FileBase::getFileURLFromSystemPath( sFileName, sURL );
-    // detect if there is no path if there is no path then we need
-    // to use the current current folder
+    // detect if there is no path then we need
+    // to use the current folder
     INetURLObject aURL( sURL );
     sURL = aURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri );
     if( sURL.isEmpty() )
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index af010ca..bdef5e9 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -380,7 +380,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
                             if(aVEvt.pHdl)
                             {
                                 // force new handle identification, the pointer will be dead here
-                                // since SdrEndTextEdit has resetted (deleted) the handles.
+                                // since SdrEndTextEdit has reset (deleted) the handles.
                                 aVEvt.pHdl = nullptr;
                                 mpView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
                             }
@@ -830,7 +830,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
                     aSet.Put(SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_RIGHT));
 
                     // Analog to the else case below, for vertical simple click texts
-                    // one of the defaulted setted items from ImpSetAttributesForNewTextObject
+                    // one of the default set items from ImpSetAttributesForNewTextObject
                     // needs to be adapted to non-block mode.
                     const SfxItemSet& rSet = mpView->GetDefaultAttr();
                     SvxFrameDirection eDirection = (SvxFrameDirection)static_cast<const SvxFrameDirectionItem&>(rSet.Get(EE_PARA_WRITINGDIR)).GetValue();
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index 80f981c..44ae599 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -71,7 +71,7 @@ public:
     */
     SlideSorterController (SlideSorter& rSlideSorter);
 
-    /** Late initialization. Call this method once a new new object has been
+    /** Late initialization. Call this method once a new object has been
         created.
     */
     void Init();
diff --git a/sfx2/classification/xAL-types.xsd b/sfx2/classification/xAL-types.xsd
index 57bd32e..f97e516 100644
--- a/sfx2/classification/xAL-types.xsd
+++ b/sfx2/classification/xAL-types.xsd
@@ -15,7 +15,7 @@
 		
 		NOTE: This is the schema that users can customise the enumeration lists to meet their
 		exchange requirements. The enumeration values provided are ONLY SAMPLES and 
-		is not complete. It is upto the application to decide what the values should be.  To achieve 
+		is not complete. It is up to the application to decide what the values should be. To achieve
 		interoperability between applications using this specification, it is recommended that an
 		SLA/agreement is in place as to what the enumeration values will be used in this file 
 		</xs:documentation>
diff --git a/sfx2/classification/xNL-types.xsd b/sfx2/classification/xNL-types.xsd
index 50f5e98..7c52e5b 100644
--- a/sfx2/classification/xNL-types.xsd
+++ b/sfx2/classification/xNL-types.xsd
@@ -15,7 +15,7 @@
 		
 		NOTE: This is the schema that users can customise the enumeration lists to meet their
 		exchange requirements. The enumeration values provided are ONLY SAMPLES and 
-		is not complete. It is upto the application to decide what the values should be.  To achieve 
+		is not complete. It is up to the application to decide what the values should be. To achieve
 		interoperability between applications using this specification, it is recommended that an
 		SLA/agreement is in place as to what the enumeration values will be used in this file 
 		</xs:documentation>
diff --git a/smoketest/data/Basic/Standard/Global.xml b/smoketest/data/Basic/Standard/Global.xml
index 6519c87..220fb83 100644
--- a/smoketest/data/Basic/Standard/Global.xml
+++ b/smoketest/data/Basic/Standard/Global.xml
@@ -56,7 +56,7 @@ global const cLogUnknown = 0, cLogFalse = 1, cLogTrue = 2
 Global const cYes = "y", cNo = "n"
 Global const cStateNo = 0, cStateYes = 1
 
-'Feldtypen
+'FieldTypes
 Global const cFtExtUser = 21, cFtPageNum = 5, cFtStatistic = 8, cFtDateTime = 27, cFtDatabase = 31
 
 'UnoStrings
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 0f7cda1..d23eba7 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -385,7 +385,7 @@ SfxMultiVarRecordWriter::~SfxMultiVarRecordWriter()
 void SfxMultiVarRecordWriter::FlushContent_Impl()
 {
     // record the version and position offset of the current content;
-    // the position offset is relative ot the start position of the
+    // the position offset is relative to the start position of the
     // first content.
     assert(_aContentOfs.size() == static_cast<size_t>(_nContentCount)-1);
     _aContentOfs.resize(_nContentCount-1);
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index 9b90df5..721355d 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -372,7 +372,7 @@ void SvxLineEndWindow::FillValueSet()
         long nCount = mpLineEndList->Count();
 
         // First entry: no line end.
-        // An entry is temporarly added to get the UI bitmap
+        // An entry is temporarily added to get the UI bitmap
         basegfx::B2DPolyPolygon aNothing;
         mpLineEndList->Insert(o3tl::make_unique<XLineEndEntry>(aNothing, SVX_RESSTR(RID_SVXSTR_NONE)));
         const XLineEndEntry* pEntry = mpLineEndList->GetLineEnd(nCount);


More information about the Libreoffice-commits mailing list