Kaydet (Commit) 43d35f56 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: I54c32259750c0863a39f56fabaa1a0df7d208c9a
üst 1bc911ec
......@@ -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: ---
......
......@@ -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;
......
......@@ -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.
......
......@@ -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();
{
......
......@@ -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:
......
......@@ -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
......
......@@ -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 },
......
......@@ -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
......
......@@ -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 );
}
......
......@@ -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();
}
......
......@@ -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 );
......
......@@ -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;
......
......@@ -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;
......
......@@ -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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment