This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch backport/phase1-format-ci in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit b4fbd80c764c1bd0f84389af737e3a865c8074a2 Author: Jim Jagielski <[email protected]> AuthorDate: Fri Jun 5 07:03:47 2026 -0400 Fix codespell-flagged typos to align with trunk Ran codespell with the backported ignore-words list and applied its corrections (--write-changes), fixing 52 spelling errors across 44 files. All are in comments, strings, and log messages (e.g. unknwon -> unknown, shuting -> shutting, Retrives -> Retrieves); no code identifiers were touched. Each typo was verified absent from trunk beforehand, so these fixes reduce divergence rather than add it. Phase 1 backport (A_FORMAT + B_CI_DOCS), codespell step. --- main/accessibility/source/standard/vclxaccessibletoolbox.cxx | 2 +- .../src/main/java/com/sun/star/beans/OfficeConnection.java | 2 +- .../main/java/com/sun/star/comp/beans/OfficeConnection.java | 2 +- .../src/main/java/com/sun/star/comp/beans/OfficeWindow.java | 4 ++-- main/chart2/source/view/main/PropertyMapper.cxx | 2 +- main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx | 2 +- main/comphelper/inc/comphelper/extract.hxx | 2 +- main/comphelper/inc/comphelper/namedvaluecollection.hxx | 2 +- main/comphelper/source/misc/locale.cxx | 4 ++-- main/configmgr/source/components.cxx | 2 +- main/cppu/source/typelib/typelib.cxx | 6 +++--- main/desktop/source/app/configinit.hxx | 2 +- main/dtrans/source/cnttype/wbench/testcnttype.cxx | 2 +- main/dtrans/source/win32/workbench/test_wincb.cxx | 2 +- .../filter/detection/typeDetection/TypeDetection.java | 2 +- main/filter/source/config/cache/querytokenizer.hxx | 4 ++-- main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx | 2 +- .../source/win32/folderpicker/workbench/Test_fops.cxx | 2 +- main/framework/inc/services/desktop.hxx | 2 +- main/framework/inc/services/frameloaderfactory.hxx | 2 +- main/framework/inc/threadhelp/transactionbase.hxx | 4 ++-- main/framework/source/inc/loadenv/targethelper.hxx | 4 ++-- main/framework/source/services/substitutepathvars.cxx | 2 +- main/offapi/com/sun/star/awt/XDisplayConnection.idl | 2 +- main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java | 4 ++-- .../tests/java/ifc/i18n/_XCharacterClassification.java | 2 +- main/sal/systools/win32/uwinapi/sntprintf.c | 2 +- main/scripting/README | 2 +- main/sd/source/filter/ppt/pptinanimations.cxx | 4 ++-- main/shell/source/win32/workbench/TestSmplMail.cxx | 2 +- main/shell/source/win32/workbench/TestSysShExec.cxx | 2 +- main/sw/source/ui/dbui/maildispatcher.cxx | 12 ++++++------ main/sw/source/ui/docvw/SidebarWin.cxx | 2 +- main/sw/source/ui/uno/unoatxt.cxx | 2 +- main/toolkit/qa/complex/toolkit/GridControl.java | 4 ++-- main/unotools/source/config/viewoptions.cxx | 4 ++-- main/vcl/qa/complex/memCheck/CheckMemoryUsage.java | 2 +- main/vcl/source/app/svdata.cxx | 2 +- main/vcl/source/fontsubset/ttcr.cxx | 2 +- main/vcl/unx/generic/printer/cupsmgr.cxx | 2 +- main/wizards/com/sun/star/wizards/ui/DocumentPreview.java | 2 +- main/xmloff/source/chart/XMLChartStyleContext.cxx | 2 +- main/xmloff/source/core/xmlimp.cxx | 2 +- main/xmloff/source/transform/TransformerBase.cxx | 2 +- 44 files changed, 60 insertions(+), 60 deletions(-) diff --git a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx index d9c38f19c5..4a959b8959 100644 --- a/main/accessibility/source/standard/vclxaccessibletoolbox.cxx +++ b/main/accessibility/source/standard/vclxaccessibletoolbox.cxx @@ -633,7 +633,7 @@ void VCLXAccessibleToolBox::ProcessWindowEvent( const VclWindowEvent& rVclWindow case VCLEVENT_OBJECT_DYING : { - // if this toolbox is a subtoolbox, we have to relese it from its parent + // if this toolbox is a subtoolbox, we have to release it from its parent ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() ); if ( pToolBox && pToolBox->GetParent() && pToolBox->GetParent()->GetType() == WINDOW_TOOLBOX ) diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java index b63bb67d5d..bd50220e61 100644 --- a/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java +++ b/main/bean/java/officebean/src/main/java/com/sun/star/beans/OfficeConnection.java @@ -53,7 +53,7 @@ public interface OfficeConnection void setContainerFactory(ContainerFactory containerFactory); /** - * Retrives the UNO component context. + * Retrieves the UNO component context. * Establishes a connection if necessary and initialises the * UNO service manager if it has not already been initialised. * diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java index a095bd65d3..f77f8c5316 100644 --- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java +++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeConnection.java @@ -54,7 +54,7 @@ public interface OfficeConnection void setContainerFactory(ContainerFactory containerFactory); /** - * Retrives the UNO component context. + * Retrieves the UNO component context. * Establishes a connection if necessary and initialises the * UNO service manager if it has not already been initialised. * diff --git a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java index 896d6fcd16..cf3dcb960d 100644 --- a/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java +++ b/main/bean/java/officebean/src/main/java/com/sun/star/comp/beans/OfficeWindow.java @@ -37,14 +37,14 @@ import com.sun.star.awt.XWindowPeer; public interface OfficeWindow { /** - * Retrives an AWT component object associated with the OfficeWindow. + * Retrieves an AWT component object associated with the OfficeWindow. * * @return The AWT component object associated with the OfficeWindow. */ Component getAWTComponent(); /** - * Retrives an UNO XWindowPeer object associated with the OfficeWindow. + * Retrieves an UNO XWindowPeer object associated with the OfficeWindow. * * @return The UNO XWindowPeer object associated with the OfficeWindow. */ diff --git a/main/chart2/source/view/main/PropertyMapper.cxx b/main/chart2/source/view/main/PropertyMapper.cxx index bfcab1f2c1..015a33deae 100644 --- a/main/chart2/source/view/main/PropertyMapper.cxx +++ b/main/chart2/source/view/main/PropertyMapper.cxx @@ -418,7 +418,7 @@ void PropertyMapper::setMultiProperties( } catch( uno::Exception& e ) { - ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completly for better performance + ASSERT_EXCEPTION( e ); //if this occurs more often think of removing the XMultiPropertySet completely for better performance } if(!bSuccess) diff --git a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx index 95bf2f1b97..3d9566f86d 100644 --- a/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx +++ b/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx @@ -173,7 +173,7 @@ sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference /** call setPersistentEntry for each embedded object in the container * - * \param _xStorage The storeage where to store the objects. + * \param _xStorage The storage where to store the objects. * \param _bClearModifedFlag If <TRUE/> then the modifed flag will be set to <FALSE/> otherwise nothing happen. * \return <FALSE/> if no error occurred, otherwise <TRUE/>. */ diff --git a/main/comphelper/inc/comphelper/extract.hxx b/main/comphelper/inc/comphelper/extract.hxx index a6622844c7..ccc879ef43 100644 --- a/main/comphelper/inc/comphelper/extract.hxx +++ b/main/comphelper/inc/comphelper/extract.hxx @@ -38,7 +38,7 @@ namespace cppu *<BR> * @param nEnum int32 enum value * @param rType enum type - * @return enum or emoty any. + * @return enum or empty any. */ inline ::com::sun::star::uno::Any SAL_CALL int2enum( sal_Int32 nEnum, const ::com::sun::star::uno::Type & rType ) diff --git a/main/comphelper/inc/comphelper/namedvaluecollection.hxx b/main/comphelper/inc/comphelper/namedvaluecollection.hxx index bc59efd3d0..6a8369a8eb 100644 --- a/main/comphelper/inc/comphelper/namedvaluecollection.hxx +++ b/main/comphelper/inc/comphelper/namedvaluecollection.hxx @@ -158,7 +158,7 @@ namespace comphelper @return <TRUE/> if there is a value with the given name, which could successfully - be extraced. In this case, <arg>_out_rValue</arg> will contain the requested + be extracted. In this case, <arg>_out_rValue</arg> will contain the requested value.<br/> <FALSE/>, if there is no value with the given name. @throws IllegalArgumentException diff --git a/main/comphelper/source/misc/locale.cxx b/main/comphelper/source/misc/locale.cxx index 7db3847ac0..fa316231be 100644 --- a/main/comphelper/source/misc/locale.cxx +++ b/main/comphelper/source/misc/locale.cxx @@ -375,7 +375,7 @@ Locale::Locale(const ::rtl::OUString& sLanguage, //----------------------------------------------- Locale::Locale() { - // Initialize instance ... otherwhise user will + // Initialize instance ... otherwise user will // may be get exceptions if he e.g. copy this instance ... (*this) = X_NOTRANSLATE(); } @@ -511,7 +511,7 @@ sal_Bool Locale::similar(const Locale& aComparable) const Locale aReference(sReferenceISO); // Note: The same language or "en"/"en-US" should be preferred as fallback. - // On the other side some localized variables doesn't use localzation in real. + // On the other side some localized variables doesn't use localization in real. // May be the use a "fix" value only ... marked as X-DEFAULT or X-NOTRANSLATE. // At least it can be discussed, if any language is a valid fallback ... // But in case some office functionality depends on that (that means real functionality instead diff --git a/main/configmgr/source/components.cxx b/main/configmgr/source/components.cxx index d5d1f4fad5..923f917021 100644 --- a/main/configmgr/source/components.cxx +++ b/main/configmgr/source/components.cxx @@ -478,7 +478,7 @@ css::beans::Optional< css::uno::Any > Components::getExternalValue( throw css::uno::RuntimeException( (rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "unknwon external value descriptor ID: ")) + + "unknown external value descriptor ID: ")) + e.Message), css::uno::Reference< css::uno::XInterface >()); } catch (css::lang::WrappedTargetException & e) { diff --git a/main/cppu/source/typelib/typelib.cxx b/main/cppu/source/typelib/typelib.cxx index 2e96610611..bc153bc2a2 100644 --- a/main/cppu/source/typelib/typelib.cxx +++ b/main/cppu/source/typelib/typelib.cxx @@ -1730,7 +1730,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 typelib_typedescription_release( pTDR->pType ); } @@ -2440,7 +2440,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getDescription( { ::osl_decrementInterlockedCount( &pRef->pType->nRefCount ); // detruction of this type in progress (another thread!) - // no acces through this weak reference + // no access through this weak reference pRef->pType = 0; } } @@ -2480,7 +2480,7 @@ extern "C" void SAL_CALL typelib_typedescriptionreference_getByName( else { // detruction of this type in progress (another thread!) - // no acces through this weak reference + // no access through this weak reference ::osl_decrementInterlockedCount( &(*aIt).second->nRefCount ); } } diff --git a/main/desktop/source/app/configinit.hxx b/main/desktop/source/app/configinit.hxx index e2056c2966..4e64b3c78d 100644 --- a/main/desktop/source/app/configinit.hxx +++ b/main/desktop/source/app/configinit.hxx @@ -37,7 +37,7 @@ displayable message. if the configuration provider can't be created @throw com::sun::star::lang::ServiceNotRegisteredException - if the ConfigurationProvider service is unknwon + if the ConfigurationProvider service is unknown @throw com::sun::star::lang::WrappedTargetException if the configuration backend could be created, diff --git a/main/dtrans/source/cnttype/wbench/testcnttype.cxx b/main/dtrans/source/cnttype/wbench/testcnttype.cxx index 07d5a11a3a..3762e82a44 100644 --- a/main/dtrans/source/cnttype/wbench/testcnttype.cxx +++ b/main/dtrans/source/cnttype/wbench/testcnttype.cxx @@ -115,7 +115,7 @@ void ShutdownServiceMgr( Reference< XMultiServiceFactory >& SrvMgr ) Reference< XComponent > xComponent( SrvMgr, UNO_QUERY ); if ( !xComponent.is() ) - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); // Dispose and clear factory xComponent->dispose(); diff --git a/main/dtrans/source/win32/workbench/test_wincb.cxx b/main/dtrans/source/win32/workbench/test_wincb.cxx index 8c29755d3e..55d186ed41 100644 --- a/main/dtrans/source/win32/workbench/test_wincb.cxx +++ b/main/dtrans/source/win32/workbench/test_wincb.cxx @@ -329,7 +329,7 @@ int SAL_CALL main( int nArgc, char* Argv[] ) Reference< XComponent > xComponent( g_xFactory, UNO_QUERY ); if ( !xComponent.is() ) - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); // Dispose and clear factory xComponent->dispose(); diff --git a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java index 5e31789acf..84fd5c3b94 100644 --- a/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java +++ b/main/filter/qa/complex/filter/detection/typeDetection/TypeDetection.java @@ -230,7 +230,7 @@ public class TypeDetection extends ComplexTestCase { String kName = ((String)k.nextElement()).toString(); log.println(kName + ":" + param.get(kName).toString()); } - // create instrace of helper class + // create instance of helper class helper = new Helper(param, log); } diff --git a/main/filter/source/config/cache/querytokenizer.hxx b/main/filter/source/config/cache/querytokenizer.hxx index 0d1d3c173b..f76e88ef44 100644 --- a/main/filter/source/config/cache/querytokenizer.hxx +++ b/main/filter/source/config/cache/querytokenizer.hxx @@ -54,7 +54,7 @@ namespace filter{ uses this schema. @attention This class is not threadsafe implemented. Because its not necessary. - But you have to make shure, that ist not used as such :-) + But you have to make sure, that ist not used as such :-) */ class QueryTokenizer : public ::std::hash_map< ::rtl::OUString , ::rtl::OUString , @@ -82,7 +82,7 @@ class QueryTokenizer : public ::std::hash_map< ::rtl::OUString /** @short create a new tokenizer instance with a a new query. - @descr The given query is immidiatly analyzed + @descr The given query is immediately analyzed and separated into its token, which can be access by some specialized method later. diff --git a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx index 6642458f5a..1201139660 100644 --- a/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx +++ b/main/fpicker/source/win32/filepicker/workbench/Test_fps.cxx @@ -369,7 +369,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) // Print a message if an error occurred. if ( xComponent.is() == sal_False ) { - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); } // Dispose and clear factory diff --git a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx index d6fdf05b00..33277f8586 100644 --- a/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx +++ b/main/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx @@ -183,7 +183,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ ) // Print a message if an error occurred. if ( xComponent.is() == sal_False ) { - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); } // Dispose and clear factory diff --git a/main/framework/inc/services/desktop.hxx b/main/framework/inc/services/desktop.hxx index ceae15d38a..1ae23e7fb8 100644 --- a/main/framework/inc/services/desktop.hxx +++ b/main/framework/inc/services/desktop.hxx @@ -485,7 +485,7 @@ class Desktop : // interfaces css::uno::Reference< css::frame::XTerminateListener > m_xSWThreadManager; //--------------------------------------------------------------------- - /** special terminate listener shuting down the SfxApplication. + /** special terminate listener shutting down the SfxApplication. * Because these desktop instance closes documents and informs listener * only ... it does not really shutdown the whole application. * diff --git a/main/framework/inc/services/frameloaderfactory.hxx b/main/framework/inc/services/frameloaderfactory.hxx index 0d332f8847..a13f459be2 100644 --- a/main/framework/inc/services/frameloaderfactory.hxx +++ b/main/framework/inc/services/frameloaderfactory.hxx @@ -257,7 +257,7 @@ class FrameLoaderFactory : public ThreadHelpBase , // Struct for right in @short check if searched frame loader exist in configuration @descr Normally nobody needs really these method (use getElementNames() in combination with getByName()). We guarantee correctness of these mechanism. There is no reason to check for existing elements then ... - but if you have an unknwon name and has no fun to search it in returned sequence ... + but if you have an unknown name and has no fun to search it in returned sequence ... you can call these ... @seealso method getByName() diff --git a/main/framework/inc/threadhelp/transactionbase.hxx b/main/framework/inc/threadhelp/transactionbase.hxx index 179db9f54d..5c20e6a315 100644 --- a/main/framework/inc/threadhelp/transactionbase.hxx +++ b/main/framework/inc/threadhelp/transactionbase.hxx @@ -53,11 +53,11 @@ namespace framework{ //_________________________________________________________________________________________________________________ /*-************************************************************************************************************//** - @short make it possible to instanciate a transacion manager as first member! + @short make it possible to instantiate a transaction manager as first member! @descr If you use a transaction manager as a member of your class and whish to use it earlier then other ones you should have a look on this implementation. You must use it as the first base class of your implementation - because base classes are initialized by his order and before your - member! Thats why ist a good place to declare this member. + member! That's why ist a good place to declare this member. @implements - @base - diff --git a/main/framework/source/inc/loadenv/targethelper.hxx b/main/framework/source/inc/loadenv/targethelper.hxx index 9727f16559..ba12e6adfa 100644 --- a/main/framework/source/inc/loadenv/targethelper.hxx +++ b/main/framework/source/inc/loadenv/targethelper.hxx @@ -80,7 +80,7 @@ class TargetHelper @note An empty target is similar to "_self"! @param sCheckTarget - must be the unknwon target name, which should be checked. + must be the unknown target name, which should be checked. @param eSpecialTarget represent the expected target. @@ -104,7 +104,7 @@ class TargetHelper by definition inside the same frame tree (e.g. _beamer and OFFICE_HELP_TASK) its not a good idea to allow anything here :-) - Of course we can't check unknwon names, which are not special ones. + Of course we can't check unknown names, which are not special ones. But we decide, that it's not allowed to use "_" as first sign (because we reserve this letter for our own purposes!) and the value must not a well known special target. diff --git a/main/framework/source/services/substitutepathvars.cxx b/main/framework/source/services/substitutepathvars.cxx index 7b7b907c6a..c1f58d8fc5 100644 --- a/main/framework/source/services/substitutepathvars.cxx +++ b/main/framework/source/services/substitutepathvars.cxx @@ -976,7 +976,7 @@ throw ( NoSuchElementException, RuntimeException ) } else { - // variable in text but unknwon! + // variable in text but unknown! if ( bSubstRequired ) { rtl::OUString aMsg( RTL_CONSTASCII_USTRINGPARAM( "Unknown variable found!" )); diff --git a/main/offapi/com/sun/star/awt/XDisplayConnection.idl b/main/offapi/com/sun/star/awt/XDisplayConnection.idl index 8ad46c6854..c396bb4c30 100644 --- a/main/offapi/com/sun/star/awt/XDisplayConnection.idl +++ b/main/offapi/com/sun/star/awt/XDisplayConnection.idl @@ -63,7 +63,7 @@ published interface XDisplayConnection: com::sun::star::uno::XInterface @param window the platform specific window id the handler should be deregistered for. - If empty, the handler should be deregistered completly. + If empty, the handler should be deregistered completely. @param eventHandler the handler to remove. diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java index 87a733ffbd..917d90627b 100644 --- a/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java +++ b/main/qadevOOo/tests/java/ifc/i18n/_XCalendar.java @@ -371,7 +371,7 @@ public class _XCalendar extends MultiMethodTest { res &= (aValue == newValue); if (!res){ log.println("the returned value is not the expected value:"); - log.println("expexted: " + newValue + " returned value: " + aValue); + log.println("expected: " + newValue + " returned value: " + aValue); } tRes.tested("getValue()", res); } @@ -395,7 +395,7 @@ public class _XCalendar extends MultiMethodTest { res &= (aValue > newValue); if (!res){ log.println("the returned value is not the expected value:"); - log.println("expexted: " + newValue + " returned value: " + aValue); + log.println("expected: " + newValue + " returned value: " + aValue); } tRes.tested("addValue()", res); } diff --git a/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java b/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java index 8e81b4fcee..7405527e1d 100644 --- a/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java +++ b/main/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java @@ -232,7 +232,7 @@ public class _XCharacterClassification extends MultiMethodTest { if (!res) { log.println("FAILED for: language=" + languages[j] + " ; country=" + countries[j]); - log.println("Sysmbol :" + toCheck.toCharArray()[i]); + log.println("Symbol :" + toCheck.toCharArray()[i]); log.println("Gained: " + get); log.println("Expected : " + expected[i]); } diff --git a/main/sal/systools/win32/uwinapi/sntprintf.c b/main/sal/systools/win32/uwinapi/sntprintf.c index f46ee676af..b1cd9302e7 100644 --- a/main/sal/systools/win32/uwinapi/sntprintf.c +++ b/main/sal/systools/win32/uwinapi/sntprintf.c @@ -58,7 +58,7 @@ static int __cdecl _vsctprintf( const _TXCHAR *format, va_list ap ) /* This function retrieves the pointer to the last character of a buffer. That is the pointer to the last character of the buffer that fits - completly into that buffer or the position of the terminating zero. + completely into that buffer or the position of the terminating zero. buffer Pointer to a _TXCHAR buffer to be examined count size of the buffer to be examined diff --git a/main/scripting/README b/main/scripting/README index 2b6a7936e1..c88dd5285a 100644 --- a/main/scripting/README +++ b/main/scripting/README @@ -35,7 +35,7 @@ UNO dialogs from various languages - java/com/sun/star/script/framework/provider Implementation of an abstract base class ScriptProvider which provides -core methods for implementing Java based LanguageScriptProvider implemetations +core methods for implementing Java based LanguageScriptProvider implementations - java/com/sun/star/script/framework/provider/* diff --git a/main/sd/source/filter/ppt/pptinanimations.cxx b/main/sd/source/filter/ppt/pptinanimations.cxx index b3059d1f76..776f4614ef 100644 --- a/main/sd/source/filter/ppt/pptinanimations.cxx +++ b/main/sd/source/filter/ppt/pptinanimations.cxx @@ -3150,7 +3150,7 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An } break; default: - DBG_ERROR("unknwon atom inside ppt::AnimationImporter::importTargetElementContainer()!"); + DBG_ERROR("unknown atom inside ppt::AnimationImporter::importTargetElementContainer()!"); break; } @@ -3181,7 +3181,7 @@ void AnimationImporter::importPropertySetContainer( const Atom* pAtom, PropertyS } else { - DBG_ERROR("unknwon atom inside ppt::AnimationImporter::importPropertySetContainer()!"); + DBG_ERROR("unknown atom inside ppt::AnimationImporter::importPropertySetContainer()!"); } pChildAtom = pAtom->findNextChildAtom( pChildAtom ); diff --git a/main/shell/source/win32/workbench/TestSmplMail.cxx b/main/shell/source/win32/workbench/TestSmplMail.cxx index 0117a4fe8d..70274e6f5b 100644 --- a/main/shell/source/win32/workbench/TestSmplMail.cxx +++ b/main/shell/source/win32/workbench/TestSmplMail.cxx @@ -170,7 +170,7 @@ int SAL_CALL main(int , char*, char* ) // Print a message if an error occurred. if ( xComponent.is() == sal_False ) { - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); } // Dispose and clear factory diff --git a/main/shell/source/win32/workbench/TestSysShExec.cxx b/main/shell/source/win32/workbench/TestSysShExec.cxx index 1fedbec0fd..19fb6af7eb 100644 --- a/main/shell/source/win32/workbench/TestSysShExec.cxx +++ b/main/shell/source/win32/workbench/TestSysShExec.cxx @@ -146,7 +146,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* ) // Print a message if an error occurred. if ( xComponent.is() == sal_False ) { - OSL_ENSURE(sal_False, "Error shuting down"); + OSL_ENSURE(sal_False, "Error shutting down"); } // Dispose and clear factory diff --git a/main/sw/source/ui/dbui/maildispatcher.cxx b/main/sw/source/ui/dbui/maildispatcher.cxx index 7a7f23a81f..cc3d682aaa 100644 --- a/main/sw/source/ui/dbui/maildispatcher.cxx +++ b/main/sw/source/ui/dbui/maildispatcher.cxx @@ -126,7 +126,7 @@ void MailDispatcher::enqueueMailMessage(uno::Reference<mail::XMailMessage> messa ::osl::MutexGuard thread_status_guard(thread_status_mutex_); ::osl::MutexGuard message_container_guard(message_container_mutex_); - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); messages_.push_back(message); if (run_) @@ -151,7 +151,7 @@ void MailDispatcher::start() ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_); - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); if (!shutdown_requested_) { @@ -170,7 +170,7 @@ void MailDispatcher::stop() ::osl::ClearableMutexGuard thread_status_guard(thread_status_mutex_); - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); if (!shutdown_requested_) { @@ -187,7 +187,7 @@ void MailDispatcher::shutdown() { ::osl::MutexGuard thread_status_guard(thread_status_mutex_); - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); shutdown_requested_ = true; wakening_call_.set(); @@ -200,7 +200,7 @@ bool MailDispatcher::isStarted() const void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> listener) { - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); ::osl::MutexGuard guard(listener_container_mutex_); listeners_.push_back(listener); @@ -208,7 +208,7 @@ void MailDispatcher::addListener(::rtl::Reference<IMailDispatcherListener> liste void MailDispatcher::removeListener(::rtl::Reference<IMailDispatcherListener> listener) { - OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shuting down already"); + OSL_PRECOND(!shutdown_requested_, "MailDispatcher thread is shutting down already"); ::osl::MutexGuard guard(listener_container_mutex_); listeners_.remove(listener); diff --git a/main/sw/source/ui/docvw/SidebarWin.cxx b/main/sw/source/ui/docvw/SidebarWin.cxx index 13f332fae8..d74e30b969 100644 --- a/main/sw/source/ui/docvw/SidebarWin.cxx +++ b/main/sw/source/ui/docvw/SidebarWin.cxx @@ -980,7 +980,7 @@ void SwSidebarWin::ToggleInsMode() { //change outliner mpOutlinerView->GetEditView().SetInsertMode(!mpOutlinerView->GetEditView().IsInsertMode()); - //change documnet + //change document mrView.GetWrtShell().ToggleInsMode(); //update statusbar SfxBindings &rBnd = mrView.GetViewFrame()->GetBindings(); diff --git a/main/sw/source/ui/uno/unoatxt.cxx b/main/sw/source/ui/uno/unoatxt.cxx index 7caf06813d..09e86303c7 100644 --- a/main/sw/source/ui/uno/unoatxt.cxx +++ b/main/sw/source/ui/uno/unoatxt.cxx @@ -933,7 +933,7 @@ void SwXAutoTextEntry::Notify( SfxBroadcaster& _rBC, const SfxHint& _rHint ) { if ( SFX_HINT_DEINITIALIZING == static_cast< const SfxSimpleHint& >( _rHint ).GetId() ) { - // our document is dying (possibly because we're shuting down, and the document was notified + // our document is dying (possibly because we're shutting down, and the document was notified // earlier than we are?) // stop listening at the docu EndListening( *&xDocSh ); diff --git a/main/toolkit/qa/complex/toolkit/GridControl.java b/main/toolkit/qa/complex/toolkit/GridControl.java index 05440a5d96..430f3397d1 100644 --- a/main/toolkit/qa/complex/toolkit/GridControl.java +++ b/main/toolkit/qa/complex/toolkit/GridControl.java @@ -214,7 +214,7 @@ public class GridControl test.testUpdateRowHeading(); test.cleanup(); - // a somehwat less straight-forward test: the data model is expected to implicitly increase its column count + // a somewhat less straight-forward test: the data model is expected to implicitly increase its column count // when you add a row which has more columns than currently known final XMutableGridDataModel dataModel = DefaultGridDataModel.create( m_context ); dataModel.addRow( 0, new Object[] { 1 } ); @@ -302,7 +302,7 @@ public class GridControl removeColumnIndex, removalIndex ); } - // calling addColumn with a column not created by the given model/implementatoion should not succeed + // calling addColumn with a column not created by the given model/implementation should not succeed boolean caughtExpected = false; try { diff --git a/main/unotools/source/config/viewoptions.cxx b/main/unotools/source/config/viewoptions.cxx index 5202198716..cb9a2793a5 100644 --- a/main/unotools/source/config/viewoptions.cxx +++ b/main/unotools/source/config/viewoptions.cxx @@ -335,7 +335,7 @@ class SvtViewOptionsBase_Impl @short ctor @descr We use it to open right configuration file and let configuration objects fill her caches. Then we read all existing entries from right list and cached it inside our object too. - Normaly we should enable notifications for changes on these values too ... but these feature + Normally we should enable notifications for changes on these values too ... but these feature isn't full implemented in the moment. @seealso baseclass ::utl::ConfigItem @@ -1234,7 +1234,7 @@ void SvtViewOptions::SetUserItem( const ::rtl::OUString& sName , // ... we must create a new one. Protect follow code with the global mutex - // It must be - we create a static variable! ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); - // We must check our pointer again - because it can be that another instance of ouer class will be fastr then these! + // We must check our pointer again - because it can be that another instance of outer class will be faster then these! if( pMutex == NULL ) { // Create the new mutex and set it for return on static variable. diff --git a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java index b12b440cbc..a82f18f1f3 100644 --- a/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java +++ b/main/vcl/qa/complex/memCheck/CheckMemoryUsage.java @@ -122,7 +122,7 @@ public class CheckMemoryUsage /* extends ComplexTestCase */ // return new String[] {"loadAndSaveDocuments"}; // } /** - * Collect all documnets to load and all filters used for export. + * Collect all documents to load and all filters used for export. */ @Before public void before() diff --git a/main/vcl/source/app/svdata.cxx b/main/vcl/source/app/svdata.cxx index b547b121b6..2931c839a8 100644 --- a/main/vcl/source/app/svdata.cxx +++ b/main/vcl/source/app/svdata.cxx @@ -346,7 +346,7 @@ com::sun::star::uno::Any AccessBridgeCurrentContext::getValueByName( const rtl:: com::sun::star::uno::Any ret; if( Name.equalsAscii( "java-vm.interaction-handler" ) ) { - // Currently, for accessbility no interaction handler shall be offered. + // Currently, for accessibility no interaction handler shall be offered. // There may be introduced later on a handler using native toolkits // jbu->obr: Instantiate here your interaction handler } diff --git a/main/vcl/source/fontsubset/ttcr.cxx b/main/vcl/source/fontsubset/ttcr.cxx index 4f37c84457..0b6f0d8775 100644 --- a/main/vcl/source/fontsubset/ttcr.cxx +++ b/main/vcl/source/fontsubset/ttcr.cxx @@ -1200,7 +1200,7 @@ int GetRawData(TrueTypeTable *_this, sal_uInt8 **ptr, sal_uInt32 *len, sal_uInt3 } } - assert(!"Unknwon TrueType table.\n"); + assert(!"Unknown TrueType table.\n"); return TTCR_UNKNOWN; } diff --git a/main/vcl/unx/generic/printer/cupsmgr.cxx b/main/vcl/unx/generic/printer/cupsmgr.cxx index ec11a29810..ada023d02b 100644 --- a/main/vcl/unx/generic/printer/cupsmgr.cxx +++ b/main/vcl/unx/generic/printer/cupsmgr.cxx @@ -526,7 +526,7 @@ void CUPSManager::initialize() m_aGlobalDefaults.m_nPDFDevice = 1; } // do not send include JobPatch; CUPS will insert that itself - // TODO: currently unknwon which versions of CUPS insert JobPatches + // TODO: currently unknown which versions of CUPS insert JobPatches // so currently it is assumed CUPS = don't insert JobPatch files m_bUseJobPatch = false; diff --git a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java index d25d469cb5..c802c10957 100644 --- a/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java +++ b/main/wizards/com/sun/star/wizards/ui/DocumentPreview.java @@ -137,7 +137,7 @@ public class DocumentPreview which isn't part of the global frame tree. Attention: - a) This frame wont be destroyed by the office. It must be closed by you! + a) This frame won't be destroyed by the office. It must be closed by you! Do so - please call XCloseable::close(). b) The container window is part of the frame. Dont hold it alive - nor try to kill it. It will be destroyed inside close(). diff --git a/main/xmloff/source/chart/XMLChartStyleContext.cxx b/main/xmloff/source/chart/XMLChartStyleContext.cxx index 521252e07d..5c95284d69 100644 --- a/main/xmloff/source/chart/XMLChartStyleContext.cxx +++ b/main/xmloff/source/chart/XMLChartStyleContext.cxx @@ -113,7 +113,7 @@ void XMLChartStyleContext::FillPropertySet( } catch( beans::UnknownPropertyException& ) { - DBG_ASSERT( false, "unknown property exception -> shape style not completly imported for chart style" ); + DBG_ASSERT( false, "unknown property exception -> shape style not completely imported for chart style" ); } lcl_NumberFormatStyleToProperty( msDataStyleName, rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "NumberFormat" )), mrStyles, rPropSet ); diff --git a/main/xmloff/source/core/xmlimp.cxx b/main/xmloff/source/core/xmlimp.cxx index 1c17a2918a..1cb67703c1 100644 --- a/main/xmloff/source/core/xmlimp.cxx +++ b/main/xmloff/source/core/xmlimp.cxx @@ -763,7 +763,7 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName, : rAttrName.copy( 6 ) ); // Add namespace, but only if it is known. sal_uInt16 nKey = mpNamespaceMap->AddIfKnown( aPrefix, rAttrValue ); - // If namespace is unknwon, try to match a name with similar + // If namespace is unknown, try to match a name with similar // TC Id an version if( XML_NAMESPACE_UNKNOWN == nKey ) { diff --git a/main/xmloff/source/transform/TransformerBase.cxx b/main/xmloff/source/transform/TransformerBase.cxx index 783b660ae5..3093d348c4 100644 --- a/main/xmloff/source/transform/TransformerBase.cxx +++ b/main/xmloff/source/transform/TransformerBase.cxx @@ -271,7 +271,7 @@ void SAL_CALL XMLTransformerBase::startElement( const OUString& rName, : rAttrName.copy( 6 ) ); // Add namespace, but only if it is known. sal_uInt16 nKey = m_pNamespaceMap->AddIfKnown( aPrefix, rAttrValue ); - // If namespace is unknwon, try to match a name with similar + // If namespace is unknown, try to match a name with similar // TC Id an version if( XML_NAMESPACE_UNKNOWN == nKey ) {
