[Libreoffice-commits] core.git: basic/source editeng/source include/svtools qadevOOo/tests rsc/source sc/source starmath/qa starmath/source svtools/source svx/inc sw/source

Andrea Gelmini andrea.gelmini at gelma.net
Thu Apr 6 07:53:49 UTC 2017


 basic/source/classes/sb.cxx                             |    2 +-
 editeng/source/editeng/editeng.cxx                      |    2 +-
 include/svtools/wizdlg.hxx                              |    6 +++---
 qadevOOo/tests/java/ifc/container/_XIndexContainer.java |    2 +-
 qadevOOo/tests/java/ifc/container/_XIndexReplace.java   |    2 +-
 qadevOOo/tests/java/ifc/container/_XNameReplace.java    |    2 +-
 rsc/source/rscpp/cpp3.c                                 |    2 +-
 sc/source/ui/docshell/docsh4.cxx                        |    2 +-
 sc/source/ui/docshell/docsh5.cxx                        |    6 +++---
 sc/source/ui/drawfunc/drtxtob.cxx                       |    2 +-
 sc/source/ui/drawfunc/futext.cxx                        |    2 +-
 sc/source/ui/drawfunc/futext2.cxx                       |    2 +-
 sc/source/ui/unoobj/dapiuno.cxx                         |    2 +-
 starmath/qa/cppunit/test_parse.cxx                      |    2 +-
 starmath/source/parse.cxx                               |    2 +-
 svtools/source/uno/unoiface.cxx                         |    2 +-
 svx/inc/gallery.hrc                                     |    6 +++---
 sw/source/filter/ww8/ww8par5.cxx                        |    2 +-
 18 files changed, 24 insertions(+), 24 deletions(-)

New commits:
commit 7d4b68fa47b2e670dcab7be335d38be690db2a73
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed Apr 5 21:07:41 2017 +0200

    Fix typos
    
    Change-Id: I9e7f7fa6a8b89304883a843f9fb0b905f5e8a8a4
    Reviewed-on: https://gerrit.libreoffice.org/36100
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index ad6dfd317bdb..cb8cc3a5c3c2 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -1329,7 +1329,7 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
                     continue;
                 }
                 // otherwise check if the element is available
-                // unset GBLSEARCH-Flag (due to Rekursion)
+                // unset GBLSEARCH-Flag (due to recursion)
                 SbxFlagBits nGblFlag = pModule->GetFlags() & SbxFlagBits::GlobalSearch;
                 pModule->ResetFlag( SbxFlagBits::GlobalSearch );
                 pRes = pModule->Find( rName, t );
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 32a48b1e84d3..4e2aa8d4cfe2 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1226,7 +1226,7 @@ bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView, v
                             }
                             else
                             {
-                                DBG_ASSERT( !aCurSel.HasRange(), "Selction on complete?!" );
+                                DBG_ASSERT( !aCurSel.HasRange(), "Selection on complete?!" );
                                 EditPaM aStart( pImpEditEngine->WordLeft( aCurSel.Max() ) );
                                 aCurSel = pImpEditEngine->InsertText(
                                                 EditSelection( aStart, aCurSel.Max() ), aAutoText );
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx
index f9eb674c71ed..1dc2e48b69c7 100644
--- a/include/svtools/wizdlg.hxx
+++ b/include/svtools/wizdlg.hxx
@@ -31,9 +31,9 @@ class PushButton;
 struct ImplWizPageData;
 struct ImplWizButtonData;
 
-/*************************************************************************
+/*
 
-Desciption
+Description
 ==========
 
 class WizardDialog
@@ -170,7 +170,7 @@ IMPL_LINK( MyWizardDlg, ImplNextHdl, PushButton*, pBtn, void )
         pBtn->Disable();
 }
 
-*************************************************************************/
+*/
 
 #define WIZARDDIALOG_BUTTON_STDOFFSET_X         6
 #define WIZARDDIALOG_BUTTON_SMALLSTDOFFSET_X    3
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
index 50437354ed78..c5823280aa75 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
@@ -51,7 +51,7 @@ import com.sun.star.lang.IndexOutOfBoundsException;
 * <p>
 * This ObjectRelations should be necessary to create an Object,
 * which is insertable by insterByIndex()
-* INSTANCEn are n Objectrelations so that every thread can isert it's own
+* INSTANCEn are n Objectrelations so that every thread can insert its own
 * object. n depends on the variable THRCNT which and comes from API.INI
 * <p>
 * Why that:
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexReplace.java b/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
index e545b727625b..f97dfb0d9a12 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
@@ -53,7 +53,7 @@ import com.sun.star.uno.UnoRuntime;
 * <p>
 * This ObjectRelations should be necessary to create an Object,
 * which is can be replaced by index
-* INSTANCEn are n Objectrelations so that every thread can isert it's own
+* INSTANCEn are n Objectrelations so that every thread can insert its own
 * object. n depends on the variable THRCNT which and comes from API.INI
 * <p>
 * Why that:
diff --git a/qadevOOo/tests/java/ifc/container/_XNameReplace.java b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
index 0201bc5e16b4..3b248272127c 100644
--- a/qadevOOo/tests/java/ifc/container/_XNameReplace.java
+++ b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
@@ -56,7 +56,7 @@ import com.sun.star.uno.UnoRuntime;
 * <p>
 * In one of the last steps the replaced object will be compared with the old
 * object. For that it is necessary that every thread replace it's own object.
-* INSTANCEn are n Objectrelations so that every thread can isert it's own
+* INSTANCEn are n Objectrelations so that every thread can insert its own
 * object. n depends on the variable THRCNT which and comes from API.INI
 * Some Object-Container can't replace the first that comes belong. So in
 * NAMEREPLACE you can determine a container object, which is replaceable. <p>
diff --git a/rsc/source/rscpp/cpp3.c b/rsc/source/rscpp/cpp3.c
index 63cdb661674a..41ef1efcbfcc 100644
--- a/rsc/source/rscpp/cpp3.c
+++ b/rsc/source/rscpp/cpp3.c
@@ -103,7 +103,7 @@ void setincdirs()
  * Be careful using malloc() !!!
  * In savestring() as a matter of fact getmem() is used and probably these
  * two functions are getting in the way of each other.
- * When I used malloc() instead of savestring() an error occured in strcpy().
+ * When I used malloc() instead of savestring() an error occurred in strcpy().
  */
 
 #if !defined(_WIN32) && !defined(UNX)
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 4dbb2b9b3124..6f7b15ae5e9a 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -733,7 +733,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
                     return ;
                 }
 
-                if ( pMed )     // now execure in earnest...
+                if ( pMed )     // now execute in earnest...
                 {
                     SfxErrorContext aEc( ERRCTX_SFX_OPENDOC, pMed->GetName() );
 
diff --git a/sc/source/ui/docshell/docsh5.cxx b/sc/source/ui/docshell/docsh5.cxx
index a714eb0bcd18..9d23184c4b3e 100644
--- a/sc/source/ui/docshell/docsh5.cxx
+++ b/sc/source/ui/docshell/docsh5.cxx
@@ -116,7 +116,7 @@ ScDBData* ScDocShell::GetDBData( const ScRange& rMarked, ScGetDBMode eMode, ScGe
     SCTAB nStartTab = nTab;
     SCCOL nEndCol = rMarked.aEnd.Col();
     SCROW nEndRow = rMarked.aEnd.Row();
-    //  Not simply GetDBAtCursor: The continuos data range for "unnamed" (GetDataArea) may be
+    //  Not simply GetDBAtCursor: The continuous data range for "unnamed" (GetDataArea) may be
     //  located next to the cursor; so a named DB range needs to be searched for there as well.
     ScDBCollection* pColl = aDocument.GetDBCollection();
     ScDBData* pData = aDocument.GetDBAtArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow );
@@ -195,7 +195,7 @@ ScDBData* ScDocShell::GetDBData( const ScRange& rMarked, ScGetDBMode eMode, ScGe
     else
     {
         if ( !bSelected )
-        {                                       // continuos range
+        {                                       // continuous range
             nStartCol = nCol;
             nStartRow = nRow;
             if (bOnlyDown)
@@ -382,7 +382,7 @@ void ScDocShell::CancelAutoDBRange()
     }
 }
 
-        //  adjust hights
+        //  adjust height
         //! merge with docfunc
 
 bool ScDocShell::AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, SCTAB nTab )
diff --git a/sc/source/ui/drawfunc/drtxtob.cxx b/sc/source/ui/drawfunc/drtxtob.cxx
index 7919144dc42f..ccd6bfe07a94 100644
--- a/sc/source/ui/drawfunc/drtxtob.cxx
+++ b/sc/source/ui/drawfunc/drtxtob.cxx
@@ -97,7 +97,7 @@ void ScDrawTextObjectBar::InitInterface_Impl()
 }
 
 
-// diable not wanted accelerators
+// disable not wanted accelerators
 
 void ScDrawTextObjectBar::StateDisableItems( SfxItemSet &rSet )
 {
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index 5535d1c534af..c7d735a32ae0 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -391,7 +391,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
     Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
 
     if ( pView->MouseButtonUp(rMEvt, pWindow) )
-        return true; // Event evaluted by SdrView
+        return true; // Event evaluated by SdrView
 
     if ( pView->IsDragObj() )
     {
diff --git a/sc/source/ui/drawfunc/futext2.cxx b/sc/source/ui/drawfunc/futext2.cxx
index daf2256bc766..647571808d1a 100644
--- a/sc/source/ui/drawfunc/futext2.cxx
+++ b/sc/source/ui/drawfunc/futext2.cxx
@@ -31,7 +31,7 @@ SdrOutliner* FuText::MakeOutliner()
 
     rViewData.UpdateOutlinerFlags(*pOutl);
 
-    //  The EditEngine uses during RTF export (Clipboard / Drag&Grop)
+    //  The EditEngine uses during RTF export (Clipboard / Drag&Drop)
     //  the MapMode of RefDevice to set the font size
 
     //  #i10426# The ref device isn't set to the EditEngine before SdrBeginTextEdit now,
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index cd6635af5133..9ab239548c38 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -271,7 +271,7 @@ static OUString lcl_CreatePivotName( ScDocShell* pDocShell )
         if ( pColl )
             return pColl->CreateNewName();
     }
-    return OUString();                    // shouldnt' happen
+    return OUString();                    // shouldn't happen
 }
 
 static sal_Int32 lcl_GetObjectIndex( ScDPObject* pDPObj, const ScFieldIdentifier& rFieldId )
diff --git a/starmath/qa/cppunit/test_parse.cxx b/starmath/qa/cppunit/test_parse.cxx
index 4e7198e5db0e..12d21c240e0f 100644
--- a/starmath/qa/cppunit/test_parse.cxx
+++ b/starmath/qa/cppunit/test_parse.cxx
@@ -94,7 +94,7 @@ void ParseTest::testMinus()
 
 /*
  * This shows that "nospace" turns off the expression's IsUseExtraSpaces(),
- * but leaves its decendants' flag on.
+ * but leaves its descendants' flag on.
  */
 void ParseTest::testNospace()
 {
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 6ae84de21c3e..7c69af937df6 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1261,7 +1261,7 @@ SmNode *SmParser::DoTerm(bool bGroupNumberIdent)
             if (bNoSpace)
                 NextToken();
             if (m_aCurToken.eType != TLGROUP)
-                return DoTerm(false); // nospace is no loger concerned
+                return DoTerm(false); // nospace is no longer concerned
 
             NextToken();
 
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 57e2ed2b973c..75a671c80e31 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -1188,7 +1188,7 @@ void SVTXFormattedField::SetDefaultValue(const css::uno::Any& rValue)
         break;
         default:
             pField->EnableEmptyField(true);
-                // only void accecpted
+                // only void accepted
             break;
     }
 }
diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc
index 21844e3260e4..61b6df4bcb5f 100644
--- a/svx/inc/gallery.hrc
+++ b/svx/inc/gallery.hrc
@@ -31,7 +31,7 @@
 #define RID_SVXSTR_GALLERY_ICONVIEW             (RID_SVX_GALLERY_START + 86)
 #define RID_SVXSTR_GALLERY_LISTVIEW             (RID_SVX_GALLERY_START + 87)
 
-// Controls fuer Gallery
+// Controls for Gallery
 #define RID_SVXMN_GALLERY1                      (RID_SVX_GALLERY_START + 36)
 #define RID_SVXMN_GALLERY2                      (RID_SVX_GALLERY_START + 37)
 
@@ -42,7 +42,7 @@
 #define RID_SVXBMP_GALLERY_VIEW_ICON            (RID_SVX_GALLERY_START + 56)
 #define RID_SVXBMP_GALLERY_VIEW_LIST            (RID_SVX_GALLERY_START + 57)
 
-// Gallery-Bitmaps fuer Sounds
+// Gallery-Bitmaps for Sounds
 #define RID_SVXBMP_GALLERY_SOUND_1              (RID_SVX_GALLERY_START + 62)
 #define RID_SVXBMP_GALLERY_SOUND_2              (RID_SVX_GALLERY_START + 63)
 #define RID_SVXBMP_GALLERY_SOUND_3              (RID_SVX_GALLERY_START + 64)
@@ -52,7 +52,7 @@
 #define RID_SVXBMP_GALLERY_SOUND_7              (RID_SVX_GALLERY_START + 68)
 #define RID_SVXBMP_GALLERY_MEDIA                (RID_SVX_GALLERY_START + 71)
 
-// lokale Defines
+// local Defines
 #define MN_ADD 6
 #define MN_PREVIEW 10
 #define MN_DELETE 12
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 9e486a57f4bc..493c18bb4d4f 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -2253,7 +2253,7 @@ eF_ResT SwWW8ImplReader::Read_F_Macro( WW8FieldDesc*, OUString& rStr)
         }
     }
     if( aName.isEmpty() )
-        return eF_ResT::TAGIGN;  // makes no sense without Makro-Name
+        return eF_ResT::TAGIGN;  // makes no sense without Macro-Name
 
     //try converting macro symbol according to macro name
     bool bApplyWingdings = ConvertMacroSymbol( aName, aVText );


More information about the Libreoffice-commits mailing list