[Libreoffice-commits] core.git: cui/source dbaccess/qa dbaccess/source

Andrea Gelmini andrea.gelmini at gelma.net
Tue Oct 6 12:18:29 PDT 2015


 cui/source/tabpages/numfmt.cxx                              |    2 +-
 cui/source/tabpages/swpossizetabpage.cxx                    |    2 +-
 dbaccess/qa/complex/dbaccess/DatabaseDocument.java          |    6 +++---
 dbaccess/qa/complex/dbaccess/RowSet.java                    |    4 ++--
 dbaccess/qa/unit/embeddeddb_performancetest.cxx             |    2 +-
 dbaccess/source/core/api/FilteredContainer.cxx              |    4 ++--
 dbaccess/source/core/dataaccess/databasedocument.cxx        |    2 +-
 dbaccess/source/core/inc/SingleSelectQueryComposer.hxx      |    2 +-
 dbaccess/source/ext/macromigration/docinteraction.cxx       |    2 +-
 dbaccess/source/ext/macromigration/macromigrationdialog.cxx |    2 +-
 dbaccess/source/ext/macromigration/progressmixer.hxx        |    2 +-
 dbaccess/source/ui/browser/genericcontroller.cxx            |    2 +-
 dbaccess/source/ui/browser/sbagrid.cxx                      |    2 +-
 dbaccess/source/ui/browser/unodatbr.cxx                     |    4 ++--
 dbaccess/source/ui/dlg/detailpages.cxx                      |    2 +-
 15 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 43d35f56efc0a4b79909dc9fbd7b0483204b6f1a
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Fri Oct 2 10:05:21 2015 +0200

    Fix typos
    
    Change-Id: I54c32259750c0863a39f56fabaa1a0df7d208c9a

diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 89abd94..e9aa60a 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1127,7 +1127,7 @@ void SvxNumberFormatTabPage::UpdateFormatListBox_Impl
 #*------------------------------------------------------------------------
 #*
 #*  Class:      SvxNumberFormatTabPage
-#*  Function:   Updates the text of Thousands seprator checkbox
+#*  Function:   Updates the text of Thousands separator checkbox
 #*              if scientific format "Engineering notation"
 #*              else "Thousands separator"
 #*  Input:      ---
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index f2d48ac..65a6a08 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -1274,7 +1274,7 @@ IMPL_LINK( SvxSwPosSizeTabPage, RelHdl, ListBox *, pLB )
             }
         }
     }
-    if (pLB)    // only if the hanlder has been called by a change of the controller
+    if (pLB)    // only if the handler has been called by a change of the controller
         RangeModifyHdl(*m_pWidthMF);
 
     return 0;
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
index 5d763a6..7a3b0936 100644
--- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
+++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
@@ -538,9 +538,9 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
     }
 
 
-    /** tests various aspects of database document "revenants"
+    /** Tests various aspects of database document "revenants"
      *
-     *  Well, I do not really have a good term for this ... The point is, database documents are in real
+     *  Well, I do not really have a good term for this... The point is, database documents are in real
      *  only *one* aspect of a more complex thing. The second aspect is a data source. Both, in some sense,
      *  just represent different views on the same thing. For a given database, there's at each time at most
      *  one data source, and at most one database document. Both have a independent life time, and are
@@ -945,7 +945,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
     {
         if ("OnTitleChanged".equals(_Event.EventName))
         // OnTitleChanged events are notified too often. This is known, and accepted.
-        // (the deeper reason is that it's diffult to determine, in the DatabaseDocument implementatin,
+        // (the deeper reason is that it's difficult to determine, in the DatabaseDocument implementatin,
         // when the title actually changed. In particular, when we do a saveAsURL, and then ask for a
         // title *before* the TitleHelper got the document's OnSaveAsDone event, then the wrong (old)
         // title is obtained.
diff --git a/dbaccess/qa/complex/dbaccess/RowSet.java b/dbaccess/qa/complex/dbaccess/RowSet.java
index 297469b..2cbf942 100644
--- a/dbaccess/qa/complex/dbaccess/RowSet.java
+++ b/dbaccess/qa/complex/dbaccess/RowSet.java
@@ -600,7 +600,7 @@ public class RowSet extends TestCase
         assertTrue("|next| after |deleteRow| failed", m_resultSet.next());
         final int positionAfter = m_resultSet.getRow();
         assertTrue("position after |next| after |deleteRow| is not as expected", positionAfter == deletedRow);
-        // since the deleted record "vanishs" as soon as the cursor is moved away from it, the absolute position does
+        // since the deleted record "vanishes" as soon as the cursor is moved away from it, the absolute position does
         // not change with a |next| call here
 
 
@@ -877,7 +877,7 @@ public class RowSet extends TestCase
         assertTrue("XParameters and the parameters container do not properly interact",
                    "Apples".equals(firstParamValue));
 
-        // let's see whether this also survices an execute of the row set
+        // let's see whether this also survives an execute of the row set
         rowsetParams.setString(1, "Oranges");
         m_rowSet.execute();
         {
diff --git a/dbaccess/qa/unit/embeddeddb_performancetest.cxx b/dbaccess/qa/unit/embeddeddb_performancetest.cxx
index 1af38cf..23ab347 100644
--- a/dbaccess/qa/unit/embeddeddb_performancetest.cxx
+++ b/dbaccess/qa/unit/embeddeddb_performancetest.cxx
@@ -69,7 +69,7 @@ OUString getPrintableTimeValue(const TimeValue* pTimeValue)
  * 'SAL_LOG="" DBA_PERFTEST=YES make CppunitTest_dbaccess_embeddeddb_performancetest'
  * This blocks the unnecessary exception output and show only the performance data.
  *
- * You also need to create the file dbacess/qa/unit/data/wordlist, this list cannot
+ * You also need to create the file dbaccess/qa/unit/data/wordlist, this list cannot
  * contain any unescaped apostrophes (since the words are used directly to assemble
  * sql statement), apostrophes are escaped using a double apostrophe, i.e. ''.
  * one easy way of generating a list is using:
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx
index f0843db..7740bdd 100644
--- a/dbaccess/source/core/api/FilteredContainer.cxx
+++ b/dbaccess/source/core/api/FilteredContainer.cxx
@@ -47,7 +47,7 @@ namespace dbaccess
 */
 sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vector< WildCard >& _rOut)
 {
-    // for wildcard search : remove all table filters which are a wildcard expression and build a WilCard
+    // for wildcard search : remove all table filters which are a wildcard expression and build a WildCard
     // for them
     OUString* pTableFilters = _rTableFilter.getArray();
     OUString* pEnd          = pTableFilters + _rTableFilter.getLength();
@@ -83,7 +83,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, ::std::vecto
         bool bFilterMatch = ::std::find( tableFilter, tableFilterEnd, _rName ) != tableFilterEnd;
         // the table is allowed to "pass" if we had no filters at all or any of the non-wildcard filters matches
         if (!bFilterMatch && !_rWCSearch.empty())
-        {   // or if one of the wildcrad expression matches
+        {   // or if one of the wildcard expression matches
             for (   ::std::vector< WildCard >::const_iterator aLoop = _rWCSearch.begin();
                     aLoop != _rWCSearch.end() && !bFilterMatch;
                     ++aLoop
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index 5ab756e..e3a76cd 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -481,7 +481,7 @@ void ODatabaseDocument::impl_reset_nothrow()
 
 namespace
 {
-    /** property map for import/exmport info set */
+    /** property map for import/export info set */
     comphelper::PropertyMapEntry const aExportInfoMap[] =
      {
         { OUString("BaseURI"), 0, ::cppu::UnoType<OUString>::get(), beans::PropertyAttribute::MAYBEVOID, 0 },
diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
index 8963e95..78e22fc 100644
--- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
+++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
@@ -153,7 +153,7 @@ namespace dbaccess
         inline bool implSetFilter(const OUString& _sFilter) { setFilter(_sFilter); return true;}
         inline bool implSetHavingClause(const OUString& _sFilter) { setHavingClause(_sFilter); return true;}
 
-        /** returns the part of the seelect statement
+        /** returns the part of the select statement
             @param  _ePart
                 Which part should be returned.
             @param  _bWithKeyword
diff --git a/dbaccess/source/ext/macromigration/docinteraction.cxx b/dbaccess/source/ext/macromigration/docinteraction.cxx
index a721a98..22a8888 100644
--- a/dbaccess/source/ext/macromigration/docinteraction.cxx
+++ b/dbaccess/source/ext/macromigration/docinteraction.cxx
@@ -63,7 +63,7 @@ namespace dbmm
     InteractionHandler::InteractionHandler( const Reference<XComponentContext>& _rContext, const Reference< XModel >& _rxDocument )
         :m_pData( new InteractionHandler_Data( _rContext ) )
     {
-        // check whether the doumentc has an own interaction handler set
+        // check whether the document has its own interaction handler set
         ::comphelper::NamedValueCollection aDocArgs( _rxDocument->getArgs() );
         m_pData->xHandler = aDocArgs.getOrDefault( "InteractionHandler", m_pData->xHandler );
     }
diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
index f894fa8..09842bd 100644
--- a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx
@@ -543,7 +543,7 @@ namespace dbmm
             {
                 Reference< XModifiable > xModify( m_pData->xDocument, UNO_QUERY_THROW );
                 xModify->setModified( sal_True );
-                    // this is just parnoia - in case saving the doc fails, perhaps the user is tempted to do so
+                    // this is just paranoia - in case saving the doc fails, perhaps the user is tempted to do so
                 Reference< XStorable > xStor( m_pData->xDocument, UNO_QUERY_THROW );
                 xStor->store();
             }
diff --git a/dbaccess/source/ext/macromigration/progressmixer.hxx b/dbaccess/source/ext/macromigration/progressmixer.hxx
index 2b2b97c..68db565 100644
--- a/dbaccess/source/ext/macromigration/progressmixer.hxx
+++ b/dbaccess/source/ext/macromigration/progressmixer.hxx
@@ -56,7 +56,7 @@ namespace dbmm
         /** registers a phase of the process, which has the given weight
             in the overall process
             @precond
-                the progress is not runnig, yet
+                the progress is not running, yet
         */
         void    registerPhase( const PhaseID _nID, const PhaseWeight _nWeight );
 
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 2c375e8..0201eaf 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -1376,7 +1376,7 @@ sal_uInt16 OGenericUnoController::registerCommandURL( const OUString& _rComplete
     if ( aIter != m_aSupportedFeatures.end() )
         return aIter->second.nFeatureId;
 
-    // this is a previously unkwnon command
+    // this is a previously unknown command
     sal_uInt16 nFeatureId = FIRST_USER_DEFINED_FEATURE;
     while ( isFeatureSupported( nFeatureId ) && ( nFeatureId < LAST_USER_DEFINED_FEATURE ) )
         ++nFeatureId;
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 3ccf878..acd4550 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1452,7 +1452,7 @@ IMPL_LINK_NOARG_TYPED(SbaGridControl, AsynchDropEvent, void*, void)
         bool bCountFinal = false;
         xDataSource->getPropertyValue(PROPERTY_ISROWCOUNTFINAL) >>= bCountFinal;
         if ( !bCountFinal )
-            setDataSource(NULL); // deattach from grid control
+            setDataSource(NULL); // dettach from grid control
         Reference< XResultSetUpdate > xResultSetUpdate(xDataSource,UNO_QUERY);
         ODatabaseImportExport* pImExport = new ORowSetImportExport(this,xResultSetUpdate,m_aDataDescriptor, getContext());
         Reference<XEventListener> xHolder = pImExport;
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx
index ee1fdd0..4d0350d 100644
--- a/dbaccess/source/ui/browser/unodatbr.cxx
+++ b/dbaccess/source/ui/browser/unodatbr.cxx
@@ -486,7 +486,7 @@ void SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow()
         // That'd be a chance to replace getStructuredFilter with something more reasonable. This method
         // has at least one other problem: for a clause like "<column> != <value>", it will return "<column>"
         // as column name, "NOT_EQUAL" as operator, and "!= <value>" as value, effectively duplicating the
-        // information about the operator, and beding all clients to manually remove the "!=" from the value
+        // information about the operator, and begging all clients to manually remove the "!=" from the value
         // string.
         // So, what really would be handy, is some
         //   XNormalizedFilter getNormalizedFilter();
@@ -1455,7 +1455,7 @@ sal_Bool SAL_CALL SbaTableQueryBrowser::select( const Any& _rSelection ) throw (
         SAL_WARN("dbaccess.ui", "SbaTableQueryBrowser::select: could not extract the descriptor!");
     }
 
-    // check the precense of the props we need
+    // check the presence of the props we need
     if ( !(aDescriptor.has(daDataSource) || aDescriptor.has(daDatabaseLocation)) || !aDescriptor.has(daCommand) || !aDescriptor.has(daCommandType))
         throw IllegalArgumentException(OUString(), *this, 1);
         // TODO: error message
diff --git a/dbaccess/source/ui/dlg/detailpages.cxx b/dbaccess/source/ui/dlg/detailpages.cxx
index 00f6027..18943cb 100644
--- a/dbaccess/source/ui/dlg/detailpages.cxx
+++ b/dbaccess/source/ui/dlg/detailpages.cxx
@@ -507,7 +507,7 @@ namespace dbaui
 
         OCommonBehaviourTabPage::implInitControls(_rSet, _bSaveValue);
 
-        // to get the correcxt value when saveValue was called by base class
+        // to get the correct value when saveValue was called by base class
         if ( m_bUseClass && m_pEDDriverClass->GetText().trim().isEmpty() )
         {
             m_pEDDriverClass->SetText(m_sDefaultJdbcDriverName);


More information about the Libreoffice-commits mailing list