diff options
author | Pedro Giffuni <pfg@apache.org> | 2014-04-29 19:05:05 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2014-04-29 19:05:05 +0000 |
commit | a6efc99d19d533fcf53106b6667bafba4d364370 (patch) | |
tree | ef4148e08d491e7e2077c8c5f4c2b93170ad56a5 /extensions | |
parent | 86642be54bf5914da333a4e0784ad939f63d83bc (diff) |
Many spelling fixes: directories a* - g*.
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.
Notes
Notes:
merged as: 0a1d822372927e3252f40b7a16590716ccc2eedd
Diffstat (limited to 'extensions')
25 files changed, 42 insertions, 42 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index a2084b8ec073..2d03ac1b82b4 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -408,7 +408,7 @@ sal_Bool BibFrameController_Impl::SaveModified(const Reference< form::runtime::X } catch(Exception&) { - DBG_ERROR("SaveModified: Exception occured!"); + DBG_ERROR("SaveModified: Exception occurred!"); } bInserted = bIsNew && bResult; diff --git a/extensions/source/inc/componentmodule.hxx b/extensions/source/inc/componentmodule.hxx index dd0795f1e424..216722f41be8 100644 --- a/extensions/source/inc/componentmodule.hxx +++ b/extensions/source/inc/componentmodule.hxx @@ -24,7 +24,7 @@ #ifndef _EXTENSIONS_COMPONENT_MODULE_HXX_ #define _EXTENSIONS_COMPONENT_MODULE_HXX_ -/** you may find this file helpfull if you implement a component (in it's own library) which can't use +/** you may find this file helpful if you implement a component (in it's own library) which can't use the usual infrastructure.<br/> More precise, you find helper classes to ease the use of resources and the registration of services. <p> diff --git a/extensions/source/logging/loghandler.hxx b/extensions/source/logging/loghandler.hxx index 1d383eb13f9b..ca96a8fdc109 100644 --- a/extensions/source/logging/loghandler.hxx +++ b/extensions/source/logging/loghandler.hxx @@ -118,13 +118,13 @@ namespace logging /** retrieves our formatter's heading, encoded with our encoding - @return <TRUE/> in case of success, <FALSE/> if any error occured + @return <TRUE/> in case of success, <FALSE/> if any error occurred */ bool getEncodedHead( ::rtl::OString& _out_rHead ) const; /** retrieves our formatter's tail, encoded with our encoding - @return <TRUE/> in case of success, <FALSE/> if any error occured + @return <TRUE/> in case of success, <FALSE/> if any error occurred */ bool getEncodedTail( ::rtl::OString& _out_rTail ) const; diff --git a/extensions/source/macosx/spotlight/OOoContentDataParser.m b/extensions/source/macosx/spotlight/OOoContentDataParser.m index d9e3a452563c..39f37afbeb32 100644 --- a/extensions/source/macosx/spotlight/OOoContentDataParser.m +++ b/extensions/source/macosx/spotlight/OOoContentDataParser.m @@ -106,7 +106,7 @@ - (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError { //NSLog(@"parsing finished with error"); - NSLog([NSString stringWithFormat:@"An error occured parsing the document. (Error %i, Description: %@, Line: %i, Column: %i)", [parseError code], + NSLog([NSString stringWithFormat:@"An error occurred parsing the document. (Error %i, Description: %@, Line: %i, Column: %i)", [parseError code], [[parser parserError] localizedDescription], [parser lineNumber], [parser columnNumber]]); diff --git a/extensions/source/macosx/spotlight/unzip.h b/extensions/source/macosx/spotlight/unzip.h index 90d234a5267c..5bcf349def09 100644 --- a/extensions/source/macosx/spotlight/unzip.h +++ b/extensions/source/macosx/spotlight/unzip.h @@ -143,8 +143,8 @@ extern int ZEXPORT unzStringFileNameCompare OF ((const char* fileName1, int iCaseSensitivity)); /* Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi + If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp) + If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi or strcasecmp) If iCaseSenisivity = 0, case sensitivity is defaut of your operating system (like 1 on Unix, 2 on Windows) diff --git a/extensions/source/macosx/spotlight/unzip.m b/extensions/source/macosx/spotlight/unzip.m index 9c5b58ddf7ac..79035803ff2c 100644 --- a/extensions/source/macosx/spotlight/unzip.m +++ b/extensions/source/macosx/spotlight/unzip.m @@ -176,7 +176,7 @@ typedef struct /* =========================================================================== Read a byte from a gz_stream; update next_in and avail_in. Return EOF for end of file. - IN assertion: the stream s has been sucessfully opened for reading. + IN assertion: the stream s has been successfully opened for reading. */ @@ -312,8 +312,8 @@ local int strcmpcasenosensitive_internal (fileName1,fileName2) /* Compare two filename (fileName1,fileName2). - If iCaseSenisivity = 1, comparision is case sensitivity (like strcmp) - If iCaseSenisivity = 2, comparision is not case sensitivity (like strcmpi + If iCaseSenisivity = 1, comparison is case sensitivity (like strcmp) + If iCaseSenisivity = 2, comparison is not case sensitivity (like strcmpi or strcasecmp) If iCaseSenisivity = 0, case sensitivity is defaut of your operating system (like 1 on Unix, 2 on Windows) diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index d17883b712ec..2b1bfcff51f1 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1026,7 +1026,7 @@ void UnoConversionUtilities<T>::anyToVariant(VARIANT* pVariant, const Any& rAny) } // Creates an SAFEARRAY of the specified element and if necessary -// creates a SAFEARRAY whith multiple dimensions. +// creates a SAFEARRAY with multiple dimensions. // Used by sal_Bool anyToVariant(VARIANT* pVariant, const Any& rAny, VARTYPE type); template<class T> SAFEARRAY* UnoConversionUtilities<T>::createUnoSequenceWrapper(const Any& rSeq, VARTYPE elemtype) @@ -1255,7 +1255,7 @@ size_t UnoConversionUtilities<T>::getOleElementSize( VARTYPE type) // param rSeq - an Any that has to contain a Sequence // param dim - the dimension for which the number of elements is being determined, // must be one. -// param seqElementCounts - countains the maximum number of elements for each +// param seqElementCounts - contains the maximum number of elements for each // dimension. Index 0 contains the number of dimension one. // After return the Sequence contains the maximum number of // elements for each dimension. @@ -1403,7 +1403,7 @@ void UnoConversionUtilities<T>::createUnoObjectWrapper(const Any & rObj, VARIANT } } // Is the object a COM wrapper ( either XInvocation, or Adapter object) - // or does it suppy an IDispatch by its own ? + // or does it supply an IDispatch by its own ? else { Reference<XInterface> xIntComWrapper = xInt; diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index eb2323e7ab71..50ff7d65872e 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -326,7 +326,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::GetIDsOfNames(REFIID /*riid*/, // A. Type Information // ----------------------------------------------------------------------------- // With the help of type information the kind of parameter can be exactly determined -// and an appropriate conversion can be choosen. A problem arises if a method expects +// and an appropriate conversion can be chosen. A problem arises if a method expects // an Any. Then the type info does not tell what the type of the value, that is kept // by the any, should be. In this situation the decision wheter the param is a // sequence or an object is made upon the fact if the object has a property "0" @@ -344,7 +344,7 @@ STDMETHODIMP InterfaceOleWrapper_Impl::GetIDsOfNames(REFIID /*riid*/, // can easily find out that a param is such an object by queriing for the // IJScriptValue interface. By this interface one the type and kind ( out, in/out) // can be determined and the right conversion can be applied. -// Using ValueObjects we spare us the effort of aquiring and examining type information +// Using ValueObjects we spare us the effort of acquiring and examining type information // in order to figure out what the an IDispatch parameter is meant for. // Normal JScript object parameter can be mixed with JScriptValue object. If an @@ -1662,7 +1662,7 @@ static HRESULT mapCannotConvertException( CannotConvertException e, unsigned int // is VT_DISPATCH. The function is used from o2u_createUnoObjectWrapper // and the result is put into the constructor of the uno - wrapper // object. If a client asks the object for DISPID_VALUE and this -// funtion returned VT_DISPATCH then the IDispatch of the same +// function returned VT_DISPATCH then the IDispatch of the same // object is being returned. // See InterfaceOleWrapper_Impl::Invoke, InterfaceOleWrapper_Impl::m_defaultValueType const VARTYPE getVarType( const Any& value) diff --git a/extensions/source/oooimprovement/myconfigurationhelper.hxx b/extensions/source/oooimprovement/myconfigurationhelper.hxx index f2d9b2f72090..e6f4a43cdb7d 100644 --- a/extensions/source/oooimprovement/myconfigurationhelper.hxx +++ b/extensions/source/oooimprovement/myconfigurationhelper.hxx @@ -39,7 +39,7 @@ namespace oooimprovement #error css defined globally #endif #define css ::com::sun::star - // Copy from comphelper module, we cant use that directly from an extension + // Copy from comphelper module, we can't use that directly from an extension class MyConfigurationHelper { public: @@ -82,7 +82,7 @@ namespace oooimprovement * * @param eMode * specify the open mode for the returned configuration access. - * It's interpreted as a flag field and can be any usefull combination + * It's interpreted as a flag field and can be any useful combination * of values of EConfigurationModes. * * @throw css::uno::Any exceptions the underlying configuration can throw. @@ -177,7 +177,7 @@ namespace oooimprovement * Because it opens the specified configuration package, reads the key and * closes the configuration again. * - * So its not very usefull to use this method for reading multiple keys at the same time. + * So its not very useful to use this method for reading multiple keys at the same time. * (Excepting these keys exists inside different configuration packages ...)) */ static css::uno::Any readDirectKey( @@ -194,7 +194,7 @@ namespace oooimprovement * Because it opens the specified configuration package, writes the key, flush * all changes and closes the configuration again. * - * So its not very usefull to use this method for writing multiple keys at the same time. + * So its not very useful to use this method for writing multiple keys at the same time. * (Excepting these keys exists inside different configuration packages ...)) */ static void writeDirectKey( diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index 607d4155fde3..865e9e405cc9 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -167,7 +167,7 @@ namespace pcr */ void SAL_CALL dispose(); - /** sets the notification mode, so that notifications recieved from the controls are + /** sets the notification mode, so that notifications received from the controls are forwarded to our IControlContext either synchronously or asynchronously @param _eMode the new notification mode diff --git a/extensions/source/propctrlr/cellbindinghandler.hxx b/extensions/source/propctrlr/cellbindinghandler.hxx index fccd9029dfef..9b1369cb4c52 100644 --- a/extensions/source/propctrlr/cellbindinghandler.hxx +++ b/extensions/source/propctrlr/cellbindinghandler.hxx @@ -86,7 +86,7 @@ namespace pcr However, it can also result in a more complex change: The current (UI) state might depend on the value of more than one other property. Those dependent properties (their - UI, more precisly) are updated in this method. + UI, more precisely) are updated in this method. @param _nPropid the ->PropertyId of the dependent property whose UI state is to be updated diff --git a/extensions/source/propctrlr/cellbindinghelper.hxx b/extensions/source/propctrlr/cellbindinghelper.hxx index 08c45f6a1b05..dbbbdd42f262 100644 --- a/extensions/source/propctrlr/cellbindinghelper.hxx +++ b/extensions/source/propctrlr/cellbindinghelper.hxx @@ -116,7 +116,7 @@ namespace pcr @precond The binding is a valid cell binding, or <NULL/> @return - <FALSE/> if and only if an error occured and no valid address could be obtained + <FALSE/> if and only if an error occurred and no valid address could be obtained @see isCellBinding */ bool getAddressFromCellBinding( @@ -200,7 +200,7 @@ namespace pcr ) const; /** retrieves the index of the sheet which our control belongs to - @return the index of the sheet which our control belongs to or -1, if an error occured + @return the index of the sheet which our control belongs to or -1, if an error occurred */ sal_Int16 getControlSheetIndex( ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheet >& _out_rxSheet @@ -265,7 +265,7 @@ namespace pcr the AddressConversion service @return - <TRUE/> if any only if the conversion was successfull + <TRUE/> if any only if the conversion was successful @see com::sun::star::table::CellAddressConversion @see com::sun::star::table::CellRangeAddressConversion diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 0c2f4b0da7de..36e2d2f48809 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -914,7 +914,7 @@ namespace pcr pEventHolder->addEvent( event->second.nId, event->second.sListenerMethodName, aAssignedScript ); } - // the inital selection in the dialog + // the initial selection in the dialog Sequence< ::rtl::OUString > aNames( pEventHolder->getElementNames() ); const ::rtl::OUString* pChosenEvent = ::std::find( aNames.getConstArray(), aNames.getConstArray() + aNames.getLength(), rForEvent.sListenerMethodName ); sal_uInt16 nInitialSelection = (sal_uInt16)( pChosenEvent - aNames.getConstArray() ); diff --git a/extensions/source/propctrlr/eventhandler.hxx b/extensions/source/propctrlr/eventhandler.hxx index efd650245c69..6edc3b064290 100644 --- a/extensions/source/propctrlr/eventhandler.hxx +++ b/extensions/source/propctrlr/eventhandler.hxx @@ -147,7 +147,7 @@ namespace pcr private: /** returns the script events associated with our introspectee @param _out_rEvents - Takes, upon successfull return, the events currently associated with the introspectee + Takes, upon successful return, the events currently associated with the introspectee @precond Our introspectee is a form component */ @@ -157,7 +157,7 @@ namespace pcr /** returns the script events associated with our introspectee @param _out_rEvents - Takes, upon successfull return, the events currently associated with the introspectee + Takes, upon successful return, the events currently associated with the introspectee @precond Our introspectee is a dialog element */ @@ -181,7 +181,7 @@ namespace pcr /** returns the types of the listeners which can be registered at our introspectee @param _out_rTypes - Takes, upon successfull return, the types of possible listeners at the introspectee + Takes, upon successful return, the types of possible listeners at the introspectee */ void impl_getCopmonentListenerTypes_nothrow( ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >& _out_rTypes diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx index e7d2eb263899..0b0fdb50bb75 100644 --- a/extensions/source/propctrlr/fontdialog.cxx +++ b/extensions/source/propctrlr/fontdialog.cxx @@ -575,7 +575,7 @@ namespace pcr const SvxFontListItem& rFontListItem = static_cast<const SvxFontListItem&>(_rpPool->GetDefaultItem(CFID_FONTLIST)); const FontList* pFontList = rFontListItem.GetFontList(); - // _first_ delete the set (refering the pool) + // _first_ delete the set (referring the pool) if (_rpSet) { delete _rpSet; diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 12f443a03e45..40915c92e56f 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -2439,7 +2439,7 @@ namespace pcr { DBG_ERROR( "FormComponentPropertyHandler::impl_ensureRowsetConnection_nothrow: caught an exception during error handling!" ); } - // additional info about what happended + // additional info about what happened String sInfo( PcrRes( RID_STR_UNABLETOCONNECT ) ); INetURLObject aParser( sDataSourceName ); if ( aParser.GetProtocol() != INET_PROT_NOT_VALID ) diff --git a/extensions/source/propctrlr/formcomponenthandler.hxx b/extensions/source/propctrlr/formcomponenthandler.hxx index 1337ea707e16..3bb0faf65865 100644 --- a/extensions/source/propctrlr/formcomponenthandler.hxx +++ b/extensions/source/propctrlr/formcomponenthandler.hxx @@ -405,7 +405,7 @@ namespace pcr However, it can also result in a more complex change: The current (UI) state might depend on the value of more than one other property. Those dependent properties (their - UI, more precisly) are updated in this method. + UI, more precisely) are updated in this method. @param _nPropid the ->PropertyId of the dependent property whose UI state is to be updated diff --git a/extensions/source/propctrlr/pcrcomponentcontext.hxx b/extensions/source/propctrlr/pcrcomponentcontext.hxx index 08f9a1c5ef34..8e518bf8a3bb 100644 --- a/extensions/source/propctrlr/pcrcomponentcontext.hxx +++ b/extensions/source/propctrlr/pcrcomponentcontext.hxx @@ -97,7 +97,7 @@ namespace pcr @throws ::com::sun::star::lang::ServiceNotRegisteredException if the given service is not registered @throws Exception - if an exception occured during creating the component + if an exception occurred during creating the component @return the newly created component. Is never <NULL/>. */ @@ -108,7 +108,7 @@ namespace pcr @throws ::com::sun::star::lang::ServiceNotRegisteredException if the given service is not registered @throws Exception - if an exception occured during creating the component + if an exception occurred during creating the component @return the newly created component. Is never <NULL/>. */ diff --git a/extensions/source/scanner/twain.cxx b/extensions/source/scanner/twain.cxx index 19f1d77222ad..8efdce688ed7 100644 --- a/extensions/source/scanner/twain.cxx +++ b/extensions/source/scanner/twain.cxx @@ -401,7 +401,7 @@ void ImpTwain::ImplXfer() GlobalFree( (HGLOBAL) hDIB ); #endif // OS2 - // set resolution of bitmap if neccessary + // set resolution of bitmap if necessary if ( ( nXRes != -1 ) && ( nYRes != - 1 ) && ( nWidth != - 1 ) && ( nHeight != - 1 ) ) { const MapMode aMapMode( MAP_100TH_INCH, Point(), Fraction( 100, nXRes ), Fraction( 100, nYRes ) ); diff --git a/extensions/source/update/check/download.cxx b/extensions/source/update/check/download.cxx index 070bdeeba795..0e3ea017a239 100644 --- a/extensions/source/update/check/download.cxx +++ b/extensions/source/update/check/download.cxx @@ -270,7 +270,7 @@ bool curl_run(const rtl::OUString& rURL, OutData& out, const rtl::OString& aProx curl_easy_setopt(pCURL, CURLOPT_WRITEDATA, &out); curl_easy_setopt(pCURL, CURLOPT_WRITEFUNCTION, &write_function); - // progress handler - Condition::check unfortunatly is not defined const + // progress handler - Condition::check unfortunately is not defined const curl_easy_setopt(pCURL, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(pCURL, CURLOPT_PROGRESSFUNCTION, &progress_callback); curl_easy_setopt(pCURL, CURLOPT_PROGRESSDATA, &out); diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 642d7940291f..f2d00b2fad01 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -820,7 +820,7 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues, if( nDownloadSize > 0 ) { - if ( nDownloadSize <= nFileSize ) // we have already downloaded everthing + if ( nDownloadSize <= nFileSize ) // we have already downloaded everything { bContinueDownload = false; bDownloadAvailable = true; diff --git a/extensions/source/update/check/updatecheckconfig.hxx b/extensions/source/update/check/updatecheckconfig.hxx index 926efbf9cee8..27262b2cb0cc 100755 --- a/extensions/source/update/check/updatecheckconfig.hxx +++ b/extensions/source/update/check/updatecheckconfig.hxx @@ -32,7 +32,7 @@ #include "updatecheckconfiglistener.hxx" #include "updateinfo.hxx" -/* Interface to acess configuration data read-only */ +/* Interface to access configuration data read-only */ struct IByNameAccess { virtual ::com::sun::star::uno::Any getValue(const sal_Char * pName) = 0; @@ -217,7 +217,7 @@ T getValue( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Name { for( sal_Int32 n=0; n < rNamedValues.getLength(); n++ ) { - // Unfortunatly gcc-3.3 does not like Any.get<T>(); + // Unfortunately gcc-3.3 does not like Any.get<T>(); if( rNamedValues[n].Name.equalsAscii( pszName ) ) { T value = T(); diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index cb93496f3d7e..7fc0cb686d3a 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -772,7 +772,7 @@ IMPL_LINK( UpdateCheckUI, WindowEventHdl, VclWindowEvent*, pEvent ) Point aWinPos = aIconRect.BottomCenter(); mpBubbleWin->SetTipPosPixel( aWinPos ); if ( mpBubbleWin->IsVisible() ) - mpBubbleWin->Show(); // This will recalc the screen positon of the bubble + mpBubbleWin->Show(); // This will recalc the screen position of the bubble } } diff --git a/extensions/test/ole/OleConverterVar1/convTest.cxx b/extensions/test/ole/OleConverterVar1/convTest.cxx index 90d952213fc5..6e2dd2388be1 100644 --- a/extensions/test/ole/OleConverterVar1/convTest.cxx +++ b/extensions/test/ole/OleConverterVar1/convTest.cxx @@ -156,7 +156,7 @@ HRESULT doTest() varParam1.vt= VT_I1 | VT_BYREF; varParam1.plVal= &value; - // Testing the caching of DISPIDs and the process of aquiring member information + // Testing the caching of DISPIDs and the process of acquiring member information // on demand in IDispatch::Invoke // Step through the corresponding IDispatch implementation of the ole bridge hr= oletest.Invoke1(static_cast<LPCOLESTR>(L"testinout_methodByte"), &varParam1, &varRet); diff --git a/extensions/test/ole/StarBasic_OleClient/oleclient.bas b/extensions/test/ole/StarBasic_OleClient/oleclient.bas index b2783e549c65..41fe415fedbd 100644 --- a/extensions/test/ole/StarBasic_OleClient/oleclient.bas +++ b/extensions/test/ole/StarBasic_OleClient/oleclient.bas @@ -498,7 +498,7 @@ If outSCode.Value <> scode_paramNotFound.Value Or inLong2 <> outLong2 _ Exit Function End If -'mixed positional and named args with ommitted args as out -args +'mixed positional and named args with omitted args as out -args inLong = 1 inLong2 = 2 inLong3 = 3 |