[Libreoffice-commits] core.git: connectivity/source cppuhelper/source cppu/source cui/source
Andrea Gelmini
andrea.gelmini at gelma.net
Wed Sep 30 06:05:43 PDT 2015
connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx | 2 +-
connectivity/source/drivers/postgresql/pq_tools.hxx | 2 +-
connectivity/source/inc/TSortIndex.hxx | 2 +-
connectivity/source/parse/sqlbison.y | 2 +-
cppu/source/typelib/typelib.cxx | 2 +-
cppu/source/uno/cascade_mapping.cxx | 2 +-
cppuhelper/source/propshlp.cxx | 2 +-
cppuhelper/source/weak.cxx | 2 +-
cui/source/customize/acccfg.cxx | 4 ++--
cui/source/dialogs/SpellDialog.cxx | 2 +-
cui/source/dialogs/cuifmsearch.cxx | 4 ++--
cui/source/dialogs/hltpbase.cxx | 2 +-
cui/source/factory/dlgfact.cxx | 2 +-
cui/source/options/optopencl.cxx | 2 +-
cui/source/tabpages/chardlg.cxx | 2 +-
15 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 3f6da86e9fb9390d7c9f97769a79bddb265e43b4
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Wed Sep 30 15:00:24 2015 +0200
Fix typos
Change-Id: I13c3dc33722f139582f27412d5d336264d3d15a3
Reviewed-on: https://gerrit.libreoffice.org/18942
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
index b1190db..cb9a9c4 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 f08cebc..8fa7656 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 84fe274..40d036d 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 11143de..0b657fd 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 129b2c0..238b4da 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 596205a..a5295bc 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 2b6001f..91f07bf 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 cf7ad1f..661c687 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 d8bf3d3..89e0cc2 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 8c39d4a..02034c5 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 a51a017..cf5b2d1 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 caf9725..8d94eae 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 f81372a..0ea2248 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 e20876b9..22f65cc 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 9048d44..34e77c2 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 );
More information about the Libreoffice-commits
mailing list