summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-30 15:00:24 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 13:05:20 +0000
commit3f6da86e9fb9390d7c9f97769a79bddb265e43b4 (patch)
tree5d62edddedf3934bfc3318a258055539d94337a7 /cui
parenta50539e2aa79bfef74c1100c252020972d436e77 (diff)
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>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/acccfg.cxx4
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
-rw-r--r--cui/source/dialogs/cuifmsearch.cxx4
-rw-r--r--cui/source/dialogs/hltpbase.cxx2
-rw-r--r--cui/source/factory/dlgfact.cxx2
-rw-r--r--cui/source/options/optopencl.cxx2
-rw-r--r--cui/source/tabpages/chardlg.cxx2
7 files changed, 9 insertions, 9 deletions
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 );