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
commit 0f724e754cc7abf9c033ad4bbcb6a6cb21f637dd Author: John Bampton <jbamp...@users.noreply.github.com> AuthorDate: Mon Feb 17 00:31:48 2025 +1000 Fix spelling (#287) (cherry picked from commit 816026e9023e2ca4c99a15ad59c9243e4552fc65) --- .../chartapiwrapper/ChartDocumentWrapper.cxx | 2 +- main/comphelper/inc/comphelper/componentmodule.hxx | 2 +- .../source/drivers/jdbc/DatabaseMetaData.cxx | 2 +- main/connectivity/source/drivers/jdbc/Object.cxx | 22 +++++++++++----------- main/dbaccess/source/core/inc/core_resource.hxx | 4 ++-- .../source/ext/adabas/Acomponentmodule.cxx | 2 +- .../source/ext/adabas/Acomponentmodule.hxx | 2 +- main/dbaccess/source/ui/inc/moduledbu.hxx | 2 +- main/dbaccess/source/ui/misc/moduledbu.cxx | 2 +- main/extensions/source/inc/componentmodule.cxx | 2 +- main/extensions/source/inc/componentmodule.hxx | 2 +- main/forms/source/inc/frm_resource.hxx | 2 +- main/formula/source/core/inc/core_resource.hxx | 4 ++-- main/formula/source/ui/inc/ModuleHelper.hxx | 2 +- main/formula/source/ui/resource/ModuleHelper.cxx | 2 +- main/framework/inc/dispatch/menudispatcher.hxx | 2 +- main/framework/inc/services/logindialog.hxx | 4 ++-- main/framework/inc/services/pathsettings.hxx | 2 +- main/framework/source/application/login.cxx | 2 +- main/framework/source/jobs/job.cxx | 2 +- main/framework/source/jobs/jobdata.cxx | 2 +- main/framework/source/jobs/jobdispatch.cxx | 4 ++-- .../DesktopEnvironment/FunctionHelper.java | 4 ++-- .../OfficeDev/DesktopEnvironment/Interceptor.java | 2 +- main/reportdesign/inc/ModuleHelper.hxx | 2 +- .../reportdesign/source/core/inc/core_resource.hxx | 2 +- main/reportdesign/source/core/sdr/ModuleHelper.cxx | 2 +- main/sfx2/source/doc/printhelper.cxx | 2 +- main/svx/inc/galtheme.hrc | 2 +- main/svx/inc/svx/fmresids.hrc | 4 ++-- main/uui/source/iahndl-filter.cxx | 2 +- main/winaccessibility/inc/AccResource.hxx | 2 +- 32 files changed, 48 insertions(+), 48 deletions(-) diff --git a/main/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx b/main/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx index 9b9405bb41..72306d946e 100644 --- a/main/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx +++ b/main/chart2/source/controller/chartapiwrapper/ChartDocumentWrapper.cxx @@ -1517,7 +1517,7 @@ void SAL_CALL ChartDocumentWrapper::setDelegator( } else { - // this is a sort of dispose() from the new model,so release ressources here + // this is a sort of dispose() from the new model,so release resources here try { this->dispose(); diff --git a/main/comphelper/inc/comphelper/componentmodule.hxx b/main/comphelper/inc/comphelper/componentmodule.hxx index 3d0e207fed..b87807693d 100644 --- a/main/comphelper/inc/comphelper/componentmodule.hxx +++ b/main/comphelper/inc/comphelper/componentmodule.hxx @@ -183,7 +183,7 @@ namespace comphelper //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class COMPHELPER_DLLPUBLIC OModuleClient { diff --git a/main/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/main/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx index 4e009ccdc0..8140fa7cfd 100644 --- a/main/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx +++ b/main/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx @@ -628,7 +628,7 @@ Reference< XResultSet > java_sql_DatabaseMetaData::impl_callResultSetMethodWithS jobject out(0); SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_sql_DatabaseMetaData::impl_callResultSetMethodWithStrings: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_sql_DatabaseMetaData::impl_callResultSetMethodWithStrings: no Java environment anymore!" ); { const char* pSignature = _pOptionalAdditionalString diff --git a/main/connectivity/source/drivers/jdbc/Object.cxx b/main/connectivity/source/drivers/jdbc/Object.cxx index bf27913317..85a364371d 100644 --- a/main/connectivity/source/drivers/jdbc/Object.cxx +++ b/main/connectivity/source/drivers/jdbc/Object.cxx @@ -241,7 +241,7 @@ sal_Bool java_lang_Object::callBooleanMethod( const char* _pMethodName, jmethodI jboolean out( sal_False ); SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"()Z", _inout_MethodID); // call method out = t.pEnv->CallBooleanMethod( object, _inout_MethodID ); @@ -254,7 +254,7 @@ sal_Bool java_lang_Object::callBooleanMethodWithIntArg( const char* _pMethodName { jboolean out( sal_False ); SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethodWithIntArg: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callBooleanMethodWithIntArg: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(I)Z", _inout_MethodID); // call method out = t.pEnv->CallBooleanMethod( object, _inout_MethodID, _nArgument ); @@ -273,7 +273,7 @@ jobject java_lang_Object::callResultSetMethod( JNIEnv& _rEnv,const char* _pMetho sal_Int32 java_lang_Object::callIntMethod( const char* _pMethodName, jmethodID& _inout_MethodID,bool _bIgnoreException ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"()I", _inout_MethodID); // call method @@ -289,7 +289,7 @@ sal_Int32 java_lang_Object::callIntMethod( const char* _pMethodName, jmethodID& sal_Int32 java_lang_Object::callIntMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID,sal_Int32 _nArgument ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(I)I", _inout_MethodID); // call method jint out( t.pEnv->CallIntMethod( object, _inout_MethodID , _nArgument) ); @@ -301,7 +301,7 @@ sal_Int32 java_lang_Object::callIntMethodWithIntArg( const char* _pMethodName, j void java_lang_Object::callVoidMethod( const char* _pMethodName, jmethodID& _inout_MethodID) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"()V", _inout_MethodID); // call method @@ -312,7 +312,7 @@ void java_lang_Object::callVoidMethod( const char* _pMethodName, jmethodID& _ino void java_lang_Object::callVoidMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument,bool _bIgnoreException ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(I)V", _inout_MethodID); // call method @@ -326,7 +326,7 @@ void java_lang_Object::callVoidMethodWithIntArg( const char* _pMethodName, jmeth void java_lang_Object::callVoidMethodWithBoolArg( const char* _pMethodName, jmethodID& _inout_MethodID, sal_Int32 _nArgument,bool _bIgnoreException ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(Z)V", _inout_MethodID); // call method t.pEnv->CallVoidMethod( object, _inout_MethodID,_nArgument ); @@ -339,7 +339,7 @@ void java_lang_Object::callVoidMethodWithBoolArg( const char* _pMethodName, jmet ::rtl::OUString java_lang_Object::callStringMethod( const char* _pMethodName, jmethodID& _inout_MethodID ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java environment anymore!" ); // call method jstring out = (jstring)callObjectMethod(t.pEnv,_pMethodName,"()Ljava/lang/String;", _inout_MethodID); @@ -369,7 +369,7 @@ jobject java_lang_Object::callObjectMethodWithIntArg( JNIEnv * _pEnv,const char* ::rtl::OUString java_lang_Object::callStringMethodWithIntArg( const char* _pMethodName, jmethodID& _inout_MethodID , sal_Int32 _nArgument) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callStringMethod: no Java environment anymore!" ); jstring out = (jstring)callObjectMethodWithIntArg(t.pEnv,_pMethodName,"(I)Ljava/lang/String;",_inout_MethodID,_nArgument); return JavaString2String( t.pEnv, out ); } @@ -377,7 +377,7 @@ jobject java_lang_Object::callObjectMethodWithIntArg( JNIEnv * _pEnv,const char* void java_lang_Object::callVoidMethodWithStringArg( const char* _pMethodName, jmethodID& _inout_MethodID,const ::rtl::OUString& _nArgument ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethod: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(Ljava/lang/String;)V", _inout_MethodID); jdbc::LocalRef< jstring > str( t.env(),convertwchar_tToJavaString(t.pEnv,_nArgument)); @@ -389,7 +389,7 @@ void java_lang_Object::callVoidMethodWithStringArg( const char* _pMethodName, jm sal_Int32 java_lang_Object::callIntMethodWithStringArg( const char* _pMethodName, jmethodID& _inout_MethodID,const ::rtl::OUString& _nArgument ) const { SDBThreadAttach t; - OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethodWithStringArg: no Java enviroment anymore!" ); + OSL_ENSURE( t.pEnv, "java_lang_Object::callIntMethodWithStringArg: no Java environment anymore!" ); obtainMethodId(t.pEnv, _pMethodName,"(Ljava/lang/String;)I", _inout_MethodID); //TODO: Check if the code below is needed diff --git a/main/dbaccess/source/core/inc/core_resource.hxx b/main/dbaccess/source/core/inc/core_resource.hxx index 932064516f..e9c3bdbc08 100644 --- a/main/dbaccess/source/core/inc/core_resource.hxx +++ b/main/dbaccess/source/core/inc/core_resource.hxx @@ -42,7 +42,7 @@ namespace dbaccess //================================================================== //= ResourceManager - //= handling ressources within the DBA-Core library + //= handling resources within the DBA-Core library //================================================================== class ResourceManager { @@ -108,7 +108,7 @@ namespace dbaccess //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class OModuleClient { diff --git a/main/dbaccess/source/ext/adabas/Acomponentmodule.cxx b/main/dbaccess/source/ext/adabas/Acomponentmodule.cxx index 4851493a76..8dec853199 100644 --- a/main/dbaccess/source/ext/adabas/Acomponentmodule.cxx +++ b/main/dbaccess/source/ext/adabas/Acomponentmodule.cxx @@ -70,7 +70,7 @@ namespace COMPMOD_NAMESPACE OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); void setResourceFilePrefix(const ::rtl::OString& _rPrefix) { m_sFilePrefix = _rPrefix; } }; diff --git a/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx b/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx index 3450ed5d17..d9d1527e91 100644 --- a/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx +++ b/main/dbaccess/source/ext/adabas/Acomponentmodule.hxx @@ -163,7 +163,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService //========================================================================= //= OModuleResourceClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class OModuleResourceClient { diff --git a/main/dbaccess/source/ui/inc/moduledbu.hxx b/main/dbaccess/source/ui/inc/moduledbu.hxx index 20240d7ecb..c5d953a837 100644 --- a/main/dbaccess/source/ui/inc/moduledbu.hxx +++ b/main/dbaccess/source/ui/inc/moduledbu.hxx @@ -75,7 +75,7 @@ private: //========================================================================= //= OModuleClient //========================================================================= -/** base class for objects which uses any global module-specific ressources +/** base class for objects which uses any global module-specific resources */ class OModuleClient { diff --git a/main/dbaccess/source/ui/misc/moduledbu.cxx b/main/dbaccess/source/ui/misc/moduledbu.cxx index 56e4aa93e6..c413371751 100644 --- a/main/dbaccess/source/ui/misc/moduledbu.cxx +++ b/main/dbaccess/source/ui/misc/moduledbu.cxx @@ -61,7 +61,7 @@ public: OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); }; diff --git a/main/extensions/source/inc/componentmodule.cxx b/main/extensions/source/inc/componentmodule.cxx index 583239c49e..fda9a5fa0d 100644 --- a/main/extensions/source/inc/componentmodule.cxx +++ b/main/extensions/source/inc/componentmodule.cxx @@ -60,7 +60,7 @@ namespace COMPMOD_NAMESPACE OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); void setResourceFilePrefix(const ::rtl::OString& _rPrefix) { m_sFilePrefix = _rPrefix; } }; diff --git a/main/extensions/source/inc/componentmodule.hxx b/main/extensions/source/inc/componentmodule.hxx index 16d9310cb4..80620364d2 100644 --- a/main/extensions/source/inc/componentmodule.hxx +++ b/main/extensions/source/inc/componentmodule.hxx @@ -147,7 +147,7 @@ typedef ::com::sun::star::uno::Reference< ::com::sun::star::lang::XSingleService //========================================================================= //= OModuleResourceClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class OModuleResourceClient { diff --git a/main/forms/source/inc/frm_resource.hxx b/main/forms/source/inc/frm_resource.hxx index 8aa21e3119..cbf93adc06 100644 --- a/main/forms/source/inc/frm_resource.hxx +++ b/main/forms/source/inc/frm_resource.hxx @@ -35,7 +35,7 @@ namespace frm //================================================================== //= ResourceManager - //= handling ressources within the FormLayer library + //= handling resources within the FormLayer library //================================================================== class ResourceManager { diff --git a/main/formula/source/core/inc/core_resource.hxx b/main/formula/source/core/inc/core_resource.hxx index 2f891ff856..27f0270ead 100644 --- a/main/formula/source/core/inc/core_resource.hxx +++ b/main/formula/source/core/inc/core_resource.hxx @@ -42,7 +42,7 @@ namespace formula //================================================================== //= ResourceManager - //= handling ressources within the FORMULA-Core library + //= handling resources within the FORMULA-Core library //================================================================== class ResourceManager { @@ -89,7 +89,7 @@ namespace formula //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class OModuleClient { diff --git a/main/formula/source/ui/inc/ModuleHelper.hxx b/main/formula/source/ui/inc/ModuleHelper.hxx index d4a7781135..abe8559494 100644 --- a/main/formula/source/ui/inc/ModuleHelper.hxx +++ b/main/formula/source/ui/inc/ModuleHelper.hxx @@ -67,7 +67,7 @@ namespace formula //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class FORMULA_DLLPUBLIC OModuleClient { diff --git a/main/formula/source/ui/resource/ModuleHelper.cxx b/main/formula/source/ui/resource/ModuleHelper.cxx index 3dc7ba508f..00d896a7cc 100644 --- a/main/formula/source/ui/resource/ModuleHelper.cxx +++ b/main/formula/source/ui/resource/ModuleHelper.cxx @@ -58,7 +58,7 @@ public: OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); }; diff --git a/main/framework/inc/dispatch/menudispatcher.hxx b/main/framework/inc/dispatch/menudispatcher.hxx index a2c2867afd..052a1992b2 100644 --- a/main/framework/inc/dispatch/menudispatcher.hxx +++ b/main/framework/inc/dispatch/menudispatcher.hxx @@ -210,7 +210,7 @@ class MenuDispatcher : // interfaces /*-****************************************************************************************************//** @short dispose current instance - @descr If service helper isn't required any longer call this method to release all used ressources. + @descr If service helper isn't required any longer call this method to release all used resources. @seealso - diff --git a/main/framework/inc/services/logindialog.hxx b/main/framework/inc/services/logindialog.hxx index 23f6cf8f5b..29bdc70ae7 100644 --- a/main/framework/inc/services/logindialog.hxx +++ b/main/framework/inc/services/logindialog.hxx @@ -280,7 +280,7 @@ class cIMPL_Dialog : public ModalDialog /*-****************************************************************************************************//** @short default ctor - @descr This ctor initialize the dialog, load ressources but not set values on edits or check boxes! + @descr This ctor initialize the dialog, load resources but not set values on edits or check boxes! These is implemented by setValues() on the same class. You must give us a language identifier to describe which resource should be used! @@ -297,7 +297,7 @@ class cIMPL_Dialog : public ModalDialog /*-****************************************************************************************************//** @short default dtor - @descr This dtor deinitialize the dialog and free all used ressources. + @descr This dtor deinitialize the dialog and free all used resources. But you can't get the values of the dialog. Use getValues() to do this. @seealso method getValues() diff --git a/main/framework/inc/services/pathsettings.hxx b/main/framework/inc/services/pathsettings.hxx index 95295092d7..581ee99b9a 100644 --- a/main/framework/inc/services/pathsettings.hxx +++ b/main/framework/inc/services/pathsettings.hxx @@ -169,7 +169,7 @@ class PathSettings : public css::lang::XTypeProvider , during this ctor runs! */ PathSettings(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR); - /** free all used ressources ... if it was not already done. */ + /** free all used resources ... if it was not already done. */ virtual ~PathSettings(); /** declaration of XInterface, XTypeProvider, XServiceInfo */ diff --git a/main/framework/source/application/login.cxx b/main/framework/source/application/login.cxx index faf811af38..efcb7378c1 100644 --- a/main/framework/source/application/login.cxx +++ b/main/framework/source/application/login.cxx @@ -155,7 +155,7 @@ void LoginApplication::Main() Reference< XDialog > xLoginDialog( xServiceManager->createInstance( SERVICENAME_LOGINDIALOG ), UNO_QUERY ); Reference< XPropertySet > xPropertySet( xLoginDialog , UNO_QUERY ); - // Work with valid ressources only! + // Work with valid resources only! // Otherwise do nothing ... if ( ( xLoginDialog.is() == sal_True ) && diff --git a/main/framework/source/jobs/job.cxx b/main/framework/source/jobs/job.cxx index 5600ffc955..00b75c8c61 100644 --- a/main/framework/source/jobs/job.cxx +++ b/main/framework/source/jobs/job.cxx @@ -795,7 +795,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) thro void SAL_CALL Job::notifyTermination( /*IN*/ const css::lang::EventObject& ) throw(css::uno::RuntimeException) { die(); - // Do nothing else here. Our internal ressources was released ... + // Do nothing else here. Our internal resources was released ... } //________________________________ diff --git a/main/framework/source/jobs/jobdata.cxx b/main/framework/source/jobs/jobdata.cxx index ed748268a7..f81950ce2c 100644 --- a/main/framework/source/jobs/jobdata.cxx +++ b/main/framework/source/jobs/jobdata.cxx @@ -149,7 +149,7 @@ void JobData::operator=( const JobData& rCopy ) /** @short let this instance die @descr There is no chance any longer to work. We have to - release all used ressources and free used memory. + release all used resources and free used memory. */ JobData::~JobData() { diff --git a/main/framework/source/jobs/jobdispatch.cxx b/main/framework/source/jobs/jobdispatch.cxx index fe879e9325..111ced4af3 100644 --- a/main/framework/source/jobs/jobdispatch.cxx +++ b/main/framework/source/jobs/jobdispatch.cxx @@ -114,11 +114,11 @@ JobDispatch::JobDispatch( /*IN*/ const css::uno::Reference< css::lang::XMultiSer //________________________________ /** @short let this instance die - @descr We have to release all used ressources and free used memory. + @descr We have to release all used resources and free used memory. */ JobDispatch::~JobDispatch() { - // release all used ressources + // release all used resources m_xSMGR = css::uno::Reference< css::lang::XMultiServiceFactory >(); m_xFrame = css::uno::Reference< css::frame::XFrame >(); } diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java index 2382430e48..355b53b344 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java @@ -299,7 +299,7 @@ public class FunctionHelper // This exception is thrown by the native JNI code if it try to get // the systemw window handle. A possible reason can be an invisible // java window. In this case it should be enough to set return - // values to null. All other ressources (which was created before) + // values to null. All other resources (which was created before) // will be freed automatically if scope wil be leaved. System.out.println("May be the NativeView object wasn't really visible at calling time of getNativeWindow()?"); xPeer = null; @@ -382,7 +382,7 @@ public class FunctionHelper if(xFrame!=null) { // Try to dispose the frame. He should deregister himself at the desktop object - // and free all internal used ressources (e.g. the container window) automatically. + // and free all internal used resources (e.g. the container window) automatically. // It's possible to do that here - because frame has no component inside yet. // So nobody can disagree with that. // After the dispose() call forget all references to this frame and let him die. diff --git a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java index 87f0a51e98..ba4c3920d7 100644 --- a/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java +++ b/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java @@ -579,7 +579,7 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener, // ____________________ /** - * This class listen on the intercepted frame to free all used ressources on closing. + * This class listen on the intercepted frame to free all used resources on closing. * We forget the reference to the frame only here. Deregistration * isn't necessary here - because this frame dies and wish to forgoten. * diff --git a/main/reportdesign/inc/ModuleHelper.hxx b/main/reportdesign/inc/ModuleHelper.hxx index 0e9d8c0b50..c2fabdf57f 100644 --- a/main/reportdesign/inc/ModuleHelper.hxx +++ b/main/reportdesign/inc/ModuleHelper.hxx @@ -68,7 +68,7 @@ namespace rptui //========================================================================= //= OModuleClient //========================================================================= - /** base class for objects which uses any global module-specific ressources + /** base class for objects which uses any global module-specific resources */ class REPORTDESIGN_DLLPUBLIC OModuleClient { diff --git a/main/reportdesign/source/core/inc/core_resource.hxx b/main/reportdesign/source/core/inc/core_resource.hxx index f31d1753f3..7059040d6f 100644 --- a/main/reportdesign/source/core/inc/core_resource.hxx +++ b/main/reportdesign/source/core/inc/core_resource.hxx @@ -36,7 +36,7 @@ namespace reportdesign //================================================================== //= ResourceManager - //= handling ressources within the DBA-Core library + //= handling resources within the DBA-Core library //================================================================== class ResourceManager { diff --git a/main/reportdesign/source/core/sdr/ModuleHelper.cxx b/main/reportdesign/source/core/sdr/ModuleHelper.cxx index 1fcc40d2f7..26855b3801 100644 --- a/main/reportdesign/source/core/sdr/ModuleHelper.cxx +++ b/main/reportdesign/source/core/sdr/ModuleHelper.cxx @@ -58,7 +58,7 @@ public: OModuleImpl(); ~OModuleImpl(); - /// get the manager for the ressources of the module + /// get the manager for the resources of the module ResMgr* getResManager(); }; diff --git a/main/sfx2/source/doc/printhelper.cxx b/main/sfx2/source/doc/printhelper.cxx index 2d6eafd2a9..d47bb2c3a4 100644 --- a/main/sfx2/source/doc/printhelper.cxx +++ b/main/sfx2/source/doc/printhelper.cxx @@ -497,7 +497,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread /* waits for finishing of the print job and moves the temp file afterwards Note: Starting of the job is done outside this thread! - But we have to free some of the given ressources on heap! + But we have to free some of the given resources on heap! */ void SAL_CALL run() { diff --git a/main/svx/inc/galtheme.hrc b/main/svx/inc/galtheme.hrc index a3d393c5b5..33252b51c7 100644 --- a/main/svx/inc/galtheme.hrc +++ b/main/svx/inc/galtheme.hrc @@ -25,7 +25,7 @@ #define RID_GALLERYSTR_THEME_START (6000) -// These defines are used to map gallery names to translated string ressources. Since +// These defines are used to map gallery names to translated string resources. Since // galleries may be copied from older offices to newer, do *never* change these // IDs except adding new ones (and adapting RID_GALLERYSTR_THEME_LAST). The ID // *is* written into the binary file *.thm (which is a gallery theme combined of diff --git a/main/svx/inc/svx/fmresids.hrc b/main/svx/inc/svx/fmresids.hrc index 788c154a58..6cec36e025 100644 --- a/main/svx/inc/svx/fmresids.hrc +++ b/main/svx/inc/svx/fmresids.hrc @@ -26,8 +26,8 @@ // include ----------------------------------------------------------- #include <svl/solar.hrc> -// unnamed ressources ------------------------------------------------------- -// sub ressources ..................... +// unnamed resources ------------------------------------------------------- +// sub resources ..................... // ImageList-Id's ----------------------------------------------------------- #define RID_SVXIMGLIST_FMEXPL (RID_FORMS_START + 0) diff --git a/main/uui/source/iahndl-filter.cxx b/main/uui/source/iahndl-filter.cxx index 1cfe84c058..920e94989d 100644 --- a/main/uui/source/iahndl-filter.cxx +++ b/main/uui/source/iahndl-filter.cxx @@ -96,7 +96,7 @@ handleNoSuchFilterRequest_( uno::Reference< document::XInteractionFilterSelect > xFilterTransport; getContinuations(rContinuations, &xAbort, &xFilterTransport); - // check necessary ressources - if they don't exist - abort or + // check necessary resources - if they don't exist - abort or // break this operation if (!xAbort.is()) return; diff --git a/main/winaccessibility/inc/AccResource.hxx b/main/winaccessibility/inc/AccResource.hxx index 8d8e286b57..81fc1b3770 100644 --- a/main/winaccessibility/inc/AccResource.hxx +++ b/main/winaccessibility/inc/AccResource.hxx @@ -32,7 +32,7 @@ class SimpleResMgr; //================================================================== //= ResourceManager -//= handling ressources within the FormLayer library +//= handling resources within the FormLayer library //================================================================== class ResourceManager {