This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new 55fb3e8b0f Fix spelling (#243)
55fb3e8b0f is described below
commit 55fb3e8b0fcb1d1e04b43379ecbbdeec306fff93
Author: John Bampton <[email protected]>
AuthorDate: Wed Jan 1 22:24:39 2025 +1000
Fix spelling (#243)
* Fix spelling
* Update dispatchhelper.cxx
---------
Co-authored-by: Matthias Seidel <[email protected]>
(cherry picked from commit 575878cc8c8d1ab8786a5872f39c0cd983663beb)
---
main/editeng/source/misc/unolingu.cxx | 6 +++---
main/framework/source/services/dispatchhelper.cxx | 2 +-
.../source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx | 8 ++++----
.../src/driver_docs/sources/StringDataManager.cls | 2 +-
main/sw/source/core/access/accmap.cxx | 2 +-
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/main/editeng/source/misc/unolingu.cxx
b/main/editeng/source/misc/unolingu.cxx
index 2e2711683a..b3e3202ebf 100644
--- a/main/editeng/source/misc/unolingu.cxx
+++ b/main/editeng/source/misc/unolingu.cxx
@@ -289,7 +289,7 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
}
//
- // add new available language/servcice entries
+ // add new available language/service entries
//
uno::Reference< XAvailableLocales > xAvail( xLngSvcMgr, UNO_QUERY
);
Sequence< Locale > aAvailLocales(
xAvail->getAvailableLocales(aService) );
@@ -407,7 +407,7 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
// for the time being (developer builds until OOo 3.0)
// we should always check for everything available
- // otherwise we may miss a new installed extension dicitonary
+ // otherwise we may miss a new installed extension dictionary
// just because e.g. the spellchecker is not asked what
// languages it does support currently...
// Since the check is on-demand occurring and executed once it
should
@@ -896,7 +896,7 @@ LinguMgrAppExitLstnr::~LinguMgrAppExitLstnr()
xDesktop->removeEventListener( this );
xDesktop = NULL; //! release reference to desktop
}
- DBG_ASSERT(!xDesktop.is(), "reference to desktop should be realeased");
+ DBG_ASSERT(!xDesktop.is(), "reference to desktop should be released");
}
void LinguMgrAppExitLstnr::disposing(const EventObject& rSource)
diff --git a/main/framework/source/services/dispatchhelper.cxx
b/main/framework/source/services/dispatchhelper.cxx
index 6eeee116ab..a828a6f355 100644
--- a/main/framework/source/services/dispatchhelper.cxx
+++ b/main/framework/source/services/dispatchhelper.cxx
@@ -202,7 +202,7 @@ void SAL_CALL DispatchHelper::dispatchFinished( const
css::frame::DispatchResult
//_______________________________________________
-/** we has to realease our broadcaster reference.
+/** we have to release our broadcaster reference.
@param aEvent
describe the source of this event and MUST be our save
broadcaster!
diff --git
a/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
b/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
index d864bd918f..96bdd1901b 100644
--- a/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
+++ b/main/lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
@@ -309,7 +309,7 @@ Reference< XHyphenatedWord > SAL_CALL
Hyphenator::hyphenate( const ::rtl::OUStri
// if we have a hyphenation dictionary matching this locale
if (k != -1)
{
- // if this dictinary has not been loaded yet do that
+ // if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + A2OU(".dic");
@@ -572,7 +572,7 @@ Reference< XPossibleHyphens > SAL_CALL
Hyphenator::createPossibleHyphens( const
// if we have a hyphenation dictionary matching this locale
if (k != -1)
{
- // if this dictioanry has not been loaded yet do that
+ // if this dictionary has not been loaded yet do that
if (!aDicts[k].aPtr)
{
OUString DictFN = aDicts[k].aName + A2OU(".dic");
@@ -582,8 +582,8 @@ Reference< XPossibleHyphens > SAL_CALL
Hyphenator::createPossibleHyphens( const
OString sTmp( OU2ENC( dictpath, osl_getThreadTextEncoding() ) );
#if defined(WNT)
- // workaround for Windows specifc problem that the
- // path length in calls to 'fopen' is limted to somewhat
+ // workaround for Windows specific problem that the
+ // path length in calls to 'fopen' is limited to somewhat
// about 120+ characters which will usually be exceed when
// using dictionaries as extensions.
sTmp = Win_GetShortPathName( dictpath );
diff --git
a/main/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
b/main/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
index bbce4ea9d7..68e207da0b 100644
--- a/main/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
+++ b/main/migrationanalysis/src/driver_docs/sources/StringDataManager.cls
@@ -116,7 +116,7 @@ Function InitString(ByRef resRef As String, resName As
String)
End Function
Private Sub Class_Initialize()
- Set langDict = New Scripting.Dictionary 'Allocate the string dictonary
+ Set langDict = New Scripting.Dictionary 'Allocate the string dictionary
End Sub
Private Sub Class_Terminate()
diff --git a/main/sw/source/core/access/accmap.cxx
b/main/sw/source/core/access/accmap.cxx
index 1270c76b6e..0f94cb9dfc 100644
--- a/main/sw/source/core/access/accmap.cxx
+++ b/main/sw/source/core/access/accmap.cxx
@@ -3367,7 +3367,7 @@ sal_Bool SwAccessibleMap::ReplaceChild (
// hold it.
// Also get keep parent.
uno::Reference < XAccessible > xParent(
pCurrentChild->getAccessibleParent() );
- pCurrentChild = 0; // well be realease by dispose
+ pCurrentChild = 0; // well be release by dispose
Dispose( 0, pObj, 0 );
{