diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-10-02 10:05:21 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-10-06 21:17:27 +0200 |
commit | 43d35f56efc0a4b79909dc9fbd7b0483204b6f1a (patch) | |
tree | ca65ca87d590c619ebafb80c3aeb3dc97f4b5a9a /dbaccess | |
parent | 1bc911eca173131fdc6e7e3889d128fa03adbf72 (diff) |
Fix typos
Change-Id: I54c32259750c0863a39f56fabaa1a0df7d208c9a
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/complex/dbaccess/DatabaseDocument.java | 6 | ||||
-rw-r--r-- | dbaccess/qa/complex/dbaccess/RowSet.java | 4 | ||||
-rw-r--r-- | dbaccess/qa/unit/embeddeddb_performancetest.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/api/FilteredContainer.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/core/inc/SingleSelectQueryComposer.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/macromigration/docinteraction.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/macromigration/macromigrationdialog.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ext/macromigration/progressmixer.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/detailpages.cxx | 2 |
13 files changed, 18 insertions, 18 deletions
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java index 5d763a6a1346..7a3b09362af8 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 297469b476da..2cbf942d94e1 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 1af38cf70772..23ab34723fff 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 f0843dbebce3..7740bdd4e4fb 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 5ab756e88559..e3a76cdc5f54 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 8963e95d55c9..78e22fca07b7 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 a721a98f09dc..22a88887414c 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 f894fa8a87a8..09842bdf5f98 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 2b2b97ccc1a2..68db5655bc2e 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 2c375e8b3c92..0201eaf7cf55 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 3ccf87831ac4..acd4550739be 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 ee1fdd03b069..4d0350d3220e 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 00f6027d2d09..18943cbf3c26 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); |