Fix typos

Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3
Reviewed-on: https://gerrit.libreoffice.org/18942
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Andrea Gelmini 2015-09-30 15:00:24 +02:00 committed by Samuel Mehrbrodt
parent a50539e2aa
commit 3f6da86e9f
15 changed files with 17 additions and 17 deletions

View File

@ -102,7 +102,7 @@ void MQuery::construct()
{
// Set default values. (For now just as a reminder).
m_aError.reset();
m_bQuerySubDirs = sal_True; // LDAP Queryies require this to be set!
m_bQuerySubDirs = sal_True; // LDAP Queries require this to be set!
m_nMaxNrOfReturns = -1; // Unlimited number of returns.
m_aQueryDirectory = new MQueryDirectory();

View File

@ -156,7 +156,7 @@ class TransactionGuard
com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > m_stmt;
bool m_commited;
public:
/// takes over ownership of given statemet
/// takes over ownership of given statement
explicit TransactionGuard( const com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > &stmt );
~TransactionGuard( );

View File

@ -87,7 +87,7 @@ namespace connectivity
void Freeze();
/**
CreateKeySet creates the keyset which vaalues could be used to travel in your table/result
CreateKeySet creates the keyset which values could be used to travel in your table/result
The returned keyset is frozen.
*/
::rtl::Reference<OKeySet> CreateKeySet();

View File

@ -70,7 +70,7 @@ inline connectivity::OSQLInternalNode* newNode(const OUString& _NewValue,
// yyi is the internal number of the rule that is currently being reduced
// This can be mapped to extrnal rule number via the yyrmap.
// This can be mapped to external rule number via the yyrmap.
#define SQL_NEW_RULE newNode("", SQL_NODE_RULE, yyr1[yyn])
#define SQL_NEW_LISTRULE newNode("", SQL_NODE_LISTRULE, yyr1[yyn])
#define SQL_NEW_COMMALISTRULE newNode("", SQL_NODE_COMMALISTRULE, yyr1[yyn])

View File

@ -1555,7 +1555,7 @@ extern "C" void SAL_CALL typelib_typedescription_register(
}
else if( !pTDR->pType->bOnDemand && (*ppNewDescription)->bOnDemand )
{
// switch from !OnDemand to OnDemand, so the description must be relesed
// switch from !OnDemand to OnDemand, so the description must be released
assert(pTDR->pType->nRefCount > 1);
// coverity[freed_arg] - pType's nRefCount is > 1 here
typelib_typedescription_release( pTDR->pType );

View File

@ -246,7 +246,7 @@ void getCascadeMapping(uno_Mapping ** ppMapping,
return;
// reaching this point means, we need a mediated mapping!!!
// we generall mediate via uno[:free]
// we generally mediate via uno[:free]
uno_Environment * pInterm = NULL;
// chained uno -> uno

View File

@ -892,7 +892,7 @@ void OPropertySetHelper::setFastPropertyValues(
// XMultiPropertySet
/**
* The sequence may be conatain not known properties. The implementation
* The sequence may be contain not known properties. The implementation
* must ignore these properties.
*/
void OPropertySetHelper::setPropertyValues(

View File

@ -364,7 +364,7 @@ OWeakRefListener::~OWeakRefListener()
{
if (m_XWeakConnectionPoint.is())
{
acquire(); // dont die again
acquire(); // don't die again
m_XWeakConnectionPoint->removeReference(static_cast<XReference*>(this));
}
}

View File

@ -1254,7 +1254,7 @@ IMPL_LINK_NOARG_TYPED(SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*
else
{
// URL doesn't point to a loaded document, try to access it as a single storage
// dont forget to release the storage afterwards!
// don't forget to release the storage afterwards!
uno::Reference<lang::XSingleServiceFactory> xStorageFactory(embed::StorageFactory::create(m_xContext));
uno::Sequence<uno::Any> lArgs(2);
lArgs[0] <<= sCfgName;
@ -1284,7 +1284,7 @@ IMPL_LINK_NOARG_TYPED(SfxAcceleratorConfigPage, LoadHdl, sfx2::FileDialogHelper*
}
// dont forget to close the new opened storage!
// don't forget to close the new opened storage!
// We are the owner of it.
if (xRootStorage.is())
{

View File

@ -437,7 +437,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent
}
}
}
/* Initialize, asynchronous to prevent virtial calls
/* Initialize, asynchronous to prevent virtual calls
from a constructor
*/
IMPL_LINK_NOARG_TYPED( SpellDialog, InitHdl, void*, void)

View File

@ -574,7 +574,7 @@ void FmSearchDialog::EnableSearchUI(bool bEnable)
m_aDelayedPaint.Stop();
}
// (the whole thing goes on below)
// this small intricateness hopfully leads to no flickering when turning the SearchUI off
// this small intricateness hopefully leads to no flickering when turning the SearchUI off
// and on again shortly after (like it's the case during a short search process)
if ( !bEnable )
@ -777,7 +777,7 @@ void FmSearchDialog::LoadParams()
nInitialField = 0;
m_plbField->SelectEntryPos(nInitialField);
LINK(this, FmSearchDialog, OnFieldSelected).Call(m_plbField);
// all fields/single field (AFTER selcting the field because OnClickedFieldRadios expects a valid value there)
// all fields/single field (AFTER selecting the field because OnClickedFieldRadios expects a valid value there)
if (aParams.bAllFields)
{
m_prbSingleField->Check(false);

View File

@ -324,7 +324,7 @@ void SvxHyperlinkTabPageBase::SetInitFocus()
GrabFocus();
}
// Ask dialog whether the curretn doc is a HTML-doc
// Ask dialog whether the current doc is a HTML-doc
bool SvxHyperlinkTabPageBase::IsHTMLDoc() const
{
return static_cast<SvxHpLinkDlg*>(mpDialog.get())->IsHTMLDoc();

View File

@ -871,7 +871,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateFrameDialog(
VclPtr<Dialog> pDlg;
if ( SID_OPTIONS_TREEDIALOG == nResId || SID_OPTIONS_DATABASES == nResId )
{
// only activate last page if we dont want to activate a special page
// only activate last page if we don't want to activate a special page
bool bActivateLastSelection = ( nResId != SID_OPTIONS_DATABASES && rParameter.isEmpty() );
VclPtrInstance<OfaTreeOptionsDialog> pOptDlg( pParent, rxFrame, bActivateLastSelection );
if ( nResId == SID_OPTIONS_DATABASES )

View File

@ -175,7 +175,7 @@ OUString format(const OpenCLConfig::ImplMatcher& rImpl)
void fillListBox(SvSimpleTable* pListBox, const OpenCLConfig::ImplMatcherSet& rSet)
{
pListBox->SetUpdateMode(false);
// kill added UserData to treeitem
// kill added UserData to tree item
for ( sal_uLong i = 0; i < pListBox->GetEntryCount(); ++i )
delete static_cast<OpenCLConfig::ImplMatcher*>(pListBox->GetEntry(i)->GetUserData());

View File

@ -2035,7 +2035,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet )
"SvxCharEffectsPage::Reset: inconsistence (1)!");
m_pUnderlineLB->GetSelectHdl().Call(NULL);
// don't call SelectHdl_Impl directly!
// in DisableControls, we may have re-reouted the select handler
// in DisableControls, we may have re-routed the select handler
// the select handler for the emphasis listbox
// SelectHdl_Impl( m_pEmphasisLB );