[Libreoffice-commits] core.git: cui/source extensions/source filter/source lotuswordpro/source odk/examples oox/source qadevOOo/tests sc/source svx/source sw/source xmerge/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Jul 22 00:03:33 UTC 2018


 cui/source/tabpages/tabstpge.cxx                                 |    2 +-
 extensions/source/scanner/sane.cxx                               |    2 +-
 filter/source/config/cache/filtercache.cxx                       |    2 +-
 lotuswordpro/source/filter/lwpfootnote.cxx                       |    4 ++--
 odk/examples/java/Spreadsheet/SCalc.java                         |    2 +-
 oox/source/drawingml/chart/typegroupconverter.cxx                |    2 +-
 qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java     |    2 +-
 qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java      |    2 +-
 sc/source/filter/rtf/rtfparse.cxx                                |    2 +-
 svx/source/fmcomp/gridctrl.cxx                                   |    2 +-
 svx/source/form/fmsrcimp.cxx                                     |    2 +-
 svx/source/table/tablertfimporter.cxx                            |    2 +-
 sw/source/core/doc/poolfmt.cxx                                   |    2 +-
 xmerge/source/xmerge/java/org/openoffice/xmerge/test/Driver.java |    4 ++--
 14 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit b86ef3b7fa3713031858f7d39c084445a5976a83
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Jul 21 11:09:44 2018 +0200
Commit:     Jens Carl <j.carl43 at gmx.de>
CommitDate: Sun Jul 22 02:03:13 2018 +0200

    Fix typos
    
    Change-Id: I326827c394347cbe9fad242e9da5702cba7a4d95
    Reviewed-on: https://gerrit.libreoffice.org/57761
    Tested-by: Jenkins
    Reviewed-by: Jens Carl <j.carl43 at gmx.de>

diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx
index cc34aaad4d4f..e64ab07e82be 100644
--- a/cui/source/tabpages/tabstpge.cxx
+++ b/cui/source/tabpages/tabstpge.cxx
@@ -292,7 +292,7 @@ void SvxTabulatorTabPage::Reset(const SfxItemSet* rSet)
     else
         aNewTabs.Remove(0, aNewTabs.Count());
 
-    // Defaul tab distance
+    // Default tab distance
     nDefDist = SVX_TAB_DEFDIST;
     pItem = GetItem(*rSet, SID_ATTR_TABSTOP_DEFAULTS);
 
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx
index 614aaccf8145..fb02a8417252 100644
--- a/extensions/source/scanner/sane.cxx
+++ b/extensions/source/scanner/sane.cxx
@@ -272,7 +272,7 @@ void Sane::ReloadOptions()
 
     mnOptions = pOptions[ 0 ];
     if( static_cast<size_t>(pZero->size) > sizeof( SANE_Word ) )
-        fprintf( stderr, "driver returned numer of options with larger size tha SANE_Word !!!\n" );
+        fprintf( stderr, "driver returned number of options with larger size than SANE_Word!!!\n" );
     mppOptions.reset(new const SANE_Option_Descriptor*[ mnOptions ]);
     mppOptions[ 0 ] = pZero;
     for( int i = 1; i < mnOptions; i++ )
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx
index c173b2941741..dd2c3fdc35a0 100644
--- a/filter/source/config/cache/filtercache.cxx
+++ b/filter/source/config/cache/filtercache.cxx
@@ -913,7 +913,7 @@ css::uno::Reference< css::uno::XInterface > FilterCache::impl_createConfigAccess
                 xCfg = xConfigProvider->createInstanceWithArguments(SERVICE_CONFIGURATIONUPDATEACCESS,
                         comphelper::containerToSequence(lParams));
 
-            // If configuration could not be opened ... but factory method does not throwed an exception
+            // If configuration could not be opened... but factory method did not throw an exception
             // trigger throwing of our own CorruptedFilterConfigurationException.
             // Let message empty. The normal exception text show enough information to the user.
             if (! xCfg.is())
diff --git a/lotuswordpro/source/filter/lwpfootnote.cxx b/lotuswordpro/source/filter/lwpfootnote.cxx
index 53502aa18663..d4a49916a128 100644
--- a/lotuswordpro/source/filter/lwpfootnote.cxx
+++ b/lotuswordpro/source/filter/lwpfootnote.cxx
@@ -534,7 +534,7 @@ OUString LwpFootnoteOptions::GetContinuedOnMessage()
     {
         return m_ContinuedOnMessage.str();
     }
-    // else reture defauls message
+    // else return default message
     return OUString(STRID_FOOTCONTINUEDON);
 }
 
@@ -547,7 +547,7 @@ OUString LwpFootnoteOptions::GetContinuedFromMessage()
     {
         return m_ContinuedFromMessage.str();
     }
-    // else reture defauls message
+    // else return default message
     return OUString(STRID_FOOTCONTINUEDFROM);
 }
 
diff --git a/odk/examples/java/Spreadsheet/SCalc.java b/odk/examples/java/Spreadsheet/SCalc.java
index 5772ab31b9a9..96fdc1ad429d 100644
--- a/odk/examples/java/Spreadsheet/SCalc.java
+++ b/odk/examples/java/Spreadsheet/SCalc.java
@@ -121,7 +121,7 @@ public class SCalc  {
 
         //oooooooooooooooooooooooooooStep 3oooooooooooooooooooooooooooooooooooooooooo
         // create cell styles.
-        // For this purpose get the StyleFamiliesSupplier and the familiy
+        // For this purpose get the StyleFamiliesSupplier and the family
         // CellStyle. Create an instance of com.sun.star.style.CellStyle and
         // add it to the family. Now change some properties
 
diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx
index 06881672492b..17e470fa812f 100644
--- a/oox/source/drawingml/chart/typegroupconverter.cxx
+++ b/oox/source/drawingml/chart/typegroupconverter.cxx
@@ -267,7 +267,7 @@ Reference< XLabeledDataSequence > TypeGroupConverter::createCategorySequence()
 {
     sal_Int32 nMaxValues = 0;
     Reference< XLabeledDataSequence > xLabeledSeq;
-    /*  Find first existing category sequence. The bahaviour of Excel 2007 is
+    /*  Find first existing category sequence. The behaviour of Excel 2007 is
         different to Excel 2003, which always used the category sequence of the
         first series, even if it was empty. */
     for (auto const& elem : mrModel.maSeries)
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
index 17f230c342b0..b34cb98e73bf 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
@@ -343,7 +343,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
     * At first <code>setHavingClause</code> sets a complex clause.
     * Then method <code>getStructuredHavingClause</code> from object relation
     * <code>xQueryAna</code> returns a valid <code>PropertyValue[][]</code>
-    * Method <code>setHavingClause</code> was called with an empty sting to
+    * Method <code>setHavingClause</code> was called with an empty string to
     * reset filter. Now <code>setStructuredHavingClause</code> with the valid
     * <code>PropertyValue[][]</code> as parameter was called.
     * Test is ok if <code>getHavingClause</code> from <code>xQueryAna</code>
diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
index 349120cabb5a..b139fff75ac9 100644
--- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
+++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java
@@ -137,7 +137,7 @@ public class XMLStylesExporter extends TestCase {
         //create new style
         Object SC = SOF.createInstance(xDrawDoc, "com.sun.star.style.Style");
         XStyle Style = UnoRuntime.queryInterface(XStyle.class,SC);
-        //add new style to style familiy with name[0]
+        //add new style to style family with name[0]
         xStyleFamilyName.insertByName(STYLE_NAME,Style);
 
         // Checking Head Tag existence and that property has changed
diff --git a/sc/source/filter/rtf/rtfparse.cxx b/sc/source/filter/rtf/rtfparse.cxx
index 7744b485f8f4..c6a143a743db 100644
--- a/sc/source/filter/rtf/rtfparse.cxx
+++ b/sc/source/filter/rtf/rtfparse.cxx
@@ -265,7 +265,7 @@ void ScRTFParser::ProcToken( RtfImportInfo* pInfo )
 {
     switch ( pInfo->nToken )
     {
-        case RTF_TROWD:         // denotes table row defauls, before RTF_CELLX
+        case RTF_TROWD:         // denotes table row default, before RTF_CELLX
         {
             if (!maDefaultList.empty())
                 nLastWidth = maDefaultList.back()->nTwips;
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 2048e63e7a35..f5d921b910b7 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2661,7 +2661,7 @@ sal_uInt32 DbGridControl::GetTotalCellWidth(long nRow, sal_uInt16 nColId)
         return GetDataWindow().GetTextWidth(GetCurrentRowCellText(pColumn,m_xPaintRow));
     }
     else
-        return 30;  // FIXME magic number for defaul cell width
+        return 30;  // FIXME magic number for default cell width
 }
 
 void DbGridControl::PreExecuteRowContextMenu(sal_uInt16 /*nRow*/, PopupMenu& rMenu)
diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx
index 7034934c6e62..30979723538b 100644
--- a/svx/source/form/fmsrcimp.cxx
+++ b/svx/source/form/fmsrcimp.cxx
@@ -642,7 +642,7 @@ void FmSearchEngine::Init(const OUString& sVisibleFields)
 {
     // analyze the fields
     // additionally, create the mapping: because the list of used columns can be shorter than the list
-    // of columns of the cursor, we need a mapping: "used column numer n" -> "cursor column m"
+    // of columns of the cursor, we need a mapping: "used column number n" -> "cursor column m"
     m_arrFieldMapping.clear();
 
     // important: The case of the columns does not need to be exact - for instance:
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index b50efb35bc3a..d04e63fb668c 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -384,7 +384,7 @@ void SdrTableRTFParser::ProcToken( RtfImportInfo* pInfo )
 {
     switch ( pInfo->nToken )
     {
-        case RTF_TROWD:         // denotes table row defauls, before RTF_CELLX
+        case RTF_TROWD:         // denotes table row default, before RTF_CELLX
         {
             maDefaultList.clear();
             mpDefMerge = nullptr;
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index fae7688fb767..ff8ce3cd5105 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -311,7 +311,7 @@ sal_uInt16 GetPoolParent( sal_uInt16 nId )
 
 void SwDoc::RemoveAllFormatLanguageDependencies()
 {
-    /* Restore the language independ pool defaults and styles. */
+    /* Restore the language independent pool defaults and styles. */
     GetAttrPool().ResetPoolDefaultItem( RES_PARATR_ADJUST );
 
     SwTextFormatColl * pTextFormatColl = getIDocumentStylePoolAccess().GetTextCollFromPool( RES_POOLCOLL_STANDARD );
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/test/Driver.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/test/Driver.java
index e48ad8257812..43555e88d11d 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/test/Driver.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/test/Driver.java
@@ -50,10 +50,10 @@ public final class Driver {
     /** {@code mergeFile} name. */
     private String mergeFile = null;
 
-    /** Command-line parmeter. */
+    /** Command-line parameter. */
     private final ArrayList<String> deviceFiles = new ArrayList<String>();
 
-    /** Command-line parmeter shortcuts. */
+    /** Command-line parameter shortcuts. */
     private final String mimeTypes[] = {
                                     "sxc", "staroffice/sxc",
                                     "sxw","staroffice/sxw"


More information about the Libreoffice-commits mailing list