diff options
-rw-r--r-- | connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_tools.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/inc/TSortIndex.hxx | 2 | ||||
-rw-r--r-- | connectivity/source/parse/sqlbison.y | 2 | ||||
-rw-r--r-- | cppu/source/typelib/typelib.cxx | 2 | ||||
-rw-r--r-- | cppu/source/uno/cascade_mapping.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/weak.cxx | 2 | ||||
-rw-r--r-- | cui/source/customize/acccfg.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/hltpbase.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optopencl.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 2 |
15 files changed, 17 insertions, 17 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx index b1190dbeaa53..cb9a9c4c8ca8 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx @@ -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(); diff --git a/connectivity/source/drivers/postgresql/pq_tools.hxx b/connectivity/source/drivers/postgresql/pq_tools.hxx index f08cebcd16d3..8fa7656dc30f 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.hxx +++ b/connectivity/source/drivers/postgresql/pq_tools.hxx @@ -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( ); diff --git a/connectivity/source/inc/TSortIndex.hxx b/connectivity/source/inc/TSortIndex.hxx index 84fe2746f496..40d036dc72d2 100644 --- a/connectivity/source/inc/TSortIndex.hxx +++ b/connectivity/source/inc/TSortIndex.hxx @@ -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(); diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index 11143de4c3db..0b657fd74264 100644 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -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]) diff --git a/cppu/source/typelib/typelib.cxx b/cppu/source/typelib/typelib.cxx index 129b2c00a21c..238b4daa393e 100644 --- a/cppu/source/typelib/typelib.cxx +++ b/cppu/source/typelib/typelib.cxx @@ -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 ); diff --git a/cppu/source/uno/cascade_mapping.cxx b/cppu/source/uno/cascade_mapping.cxx index 596205a6be4e..a5295bce9d6b 100644 --- a/cppu/source/uno/cascade_mapping.cxx +++ b/cppu/source/uno/cascade_mapping.cxx @@ -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 diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 2b6001fcc688..91f07bf29aaa 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -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( diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index cf7ad1fc1b9c..661c687e8425 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -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)); } } diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index d8bf3d37b6c7..89e0cc223fa3 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -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()) { diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 8c39d4a829b5..02034c5f1763 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -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) diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index a51a017a954c..cf5b2d1983fb 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -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); diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index caf97258b599..8d94eae2d59c 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -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(); diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index f81372a3e4ab..0ea224897c4c 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -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 ) diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx index e20876b9ede0..22f65cceaf7c 100644 --- a/cui/source/options/optopencl.cxx +++ b/cui/source/options/optopencl.cxx @@ -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()); diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 9048d44aa02f..34e77c2f8a28 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -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 ); |