Modified: openoffice/trunk/main/framework/test/test_componentenumeration.bas URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/test_componentenumeration.bas?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/test_componentenumeration.bas (original) +++ openoffice/trunk/main/framework/test/test_componentenumeration.bas Tue Apr 29 19:05:05 2014 @@ -37,7 +37,7 @@ Sub Main rem ___________________________________________________________________________________________________________________________________ rem Control service specification of helper class "framework/helper/OComponentAccess". - rem The follow output must occure: com.sun.star.lang.XTypeProvider + rem The follow output must occur: com.sun.star.lang.XTypeProvider rem com.sun.star.container.XEnumerationAccess -> com.sun.star.container.XElementAccess msgbox xComponentAccess.dbg_supportedInterfaces @@ -70,7 +70,7 @@ Sub Main rem ___________________________________________________________________________________________________________________________________ rem Control service specification of helper class "framework/helper/OComponentEnumeration". - rem The follow output must occure: com.sun.star.lang.XTypeProvider + rem The follow output must occur: com.sun.star.lang.XTypeProvider rem com.sun.star.lang.XEventListener rem com.sun.star.container.XEnumeration msgbox xComponentEnumeration.dbg_supportedInterfaces
Modified: openoffice/trunk/main/framework/test/test_statusindicatorfactory.bas URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/test_statusindicatorfactory.bas?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/test_statusindicatorfactory.bas (original) +++ openoffice/trunk/main/framework/test/test_statusindicatorfactory.bas Tue Apr 29 19:05:05 2014 @@ -52,7 +52,7 @@ Sub Main xIndicator2.setValue( 50 ) rem Work with indicator 3. - rem If working finished automaticly indicator 2 is reactivated. + rem If working finished automatically indicator 2 is reactivated. i = 0 while i<300 xIndicator3.setText( "Indicator 3: Range=300 Value=" + i ) @@ -62,13 +62,13 @@ Sub Main wend rem Delete indicator 2 before you deactivate number 3! - rem The next automaticly activated indicator will be the number 1. + rem The next automatically activated indicator will be the number 1. xIndicator2.end - msgbox "Indicator 3 will be destroyed. Indicator 2 was deleted ... number 1 must reactivated automaticly!" + msgbox "Indicator 3 will be destroyed. Indicator 2 was deleted ... number 1 must reactivated automatically!" xIndicator3.end rem Work with indicator 1. - rem If working finished automaticly the window will be destroyed. + rem If working finished automatically the window will be destroyed. i = 25 while i<100 xIndicator1.setText( "Indicator 1: Range=100 Value=" + i ) @@ -82,7 +82,7 @@ Sub Main xIndicator1.setText( "Indicator 1: ... set 50 % for progress" ) wait( 1000 ) xIndicator1.setValue( 50 ) - msgbox "Indicator 1 will be destroyed. Indicator window must destroyed automaticly!" + msgbox "Indicator 1 will be destroyed. Indicator window must destroyed automatically!" xIndicator1.end msgbox "Test for status indicator finished successful!" Modified: openoffice/trunk/main/framework/test/threadtest.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/threadtest.cxx?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/threadtest.cxx (original) +++ openoffice/trunk/main/framework/test/threadtest.cxx Tue Apr 29 19:05:05 2014 @@ -290,7 +290,7 @@ class ThreadSafeClass : private Transact ThreadSafeClass (); ~ThreadSafeClass(); - // This methods are used from differnt threads + // This methods are used from different threads // to test this class. void init ( sal_Int32 nA , sal_Int32 nThreadID ); @@ -348,7 +348,7 @@ void ThreadSafeClass::init( sal_Int32 nA LOG_INIT( nA, nThreadID ) // Look for multiple calls of this method first! - // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes. + // Use E_SOFTEXCEPTIONS to disable automatically throwing of exceptions for some working modes. ERejectReason eReason; TransactionGuard aTransaction( m_aTransactionManager, E_NOEXCEPTIONS, eReason ); if( eReason == E_UNINITIALIZED ) Modified: openoffice/trunk/main/framework/test/threadtest/threadtest.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/threadtest/threadtest.cxx?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/threadtest/threadtest.cxx (original) +++ openoffice/trunk/main/framework/test/threadtest/threadtest.cxx Tue Apr 29 19:05:05 2014 @@ -288,7 +288,7 @@ class ThreadSafeClass : private ThreadHe ThreadSafeClass (); ~ThreadSafeClass(); - // This methods are used from differnt threads + // This methods are used from different threads // to test this class. void init ( sal_Int32 nA , sal_Int32 nThreadID ); @@ -340,7 +340,7 @@ ThreadSafeClass::~ThreadSafeClass() void ThreadSafeClass::init( sal_Int32 nA, sal_Int32 nThreadID ) { // Look for multiple calls of this method first! - // Use E_SOFTEXCEPTIONS to disable automaticly throwing of exceptions for some working modes. + // Use E_SOFTEXCEPTIONS to disable automatically throwing of exceptions for some working modes. TransactionGuard aTransaction( m_aTransactionManager, E_SOFTEXCEPTIONS ); // Set write lock for setting internal member AND Modified: openoffice/trunk/main/framework/test/typecfg/cfgview.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/typecfg/cfgview.cxx?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/typecfg/cfgview.cxx (original) +++ openoffice/trunk/main/framework/test/typecfg/cfgview.cxx Tue Apr 29 19:05:05 2014 @@ -183,7 +183,7 @@ CFGView gApplication; void CFGView::Main() { // Init global servicemanager and set it. - // It's neccessary for other services ... e.g. configuration. + // It's necessary for other services ... e.g. configuration. ServiceManager aManager; ::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() ); @@ -240,7 +240,7 @@ void CFGView::impl_printSyntax() @seealso - @param "rMember", reference to struct of global application member to fill arguments in it - @return right filled member struct or unchanged struct if an error occure! + @return right filled member struct or unchanged struct if an error occur! @onerror We do nothing - or warn programmer! *//*-*************************************************************************************************************/ Modified: openoffice/trunk/main/framework/test/typecfg/xml2xcd.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/framework/test/typecfg/xml2xcd.cxx?rev=1591058&r1=1591057&r2=1591058&view=diff ============================================================================== --- openoffice/trunk/main/framework/test/typecfg/xml2xcd.cxx (original) +++ openoffice/trunk/main/framework/test/typecfg/xml2xcd.cxx Tue Apr 29 19:05:05 2014 @@ -81,7 +81,7 @@ using namespace ::framework ; 3) decrease size of xml file - don't write full localized values - use own formated string for all non localized values - - seperate "Installed" flag for filters + - separate "Installed" flag for filters 4) set right values for "Order" property of filters 5) support for ContentHandler draft 6) reactivate old filter names @@ -95,7 +95,7 @@ using namespace ::framework ; #define ARGUMENT_VERSION_INPUT DECLARE_ASCII("-vin=") // argument for file version to read [1|2|3] #define ARGUMENT_VERSION_OUTPUT DECLARE_ASCII("-vou=") // argument for file version to write [1|2|3] -#define ARGUMENTLENGTH 5 // All arguments should have the same lenght ... it's better to detect it! +#define ARGUMENTLENGTH 5 // All arguments should have the same length ... it's better to detect it! #define ARGUMENTFOUND 0 // OUString::compareTo returns 0 if searched string match given one #define WRITEABLE_ON DECLARE_ASCII("true" ) @@ -205,7 +205,7 @@ class XCDGenerator : public Application static ::rtl::OUString impl_encodeSpecialSigns ( const ::rtl::OUString& sValue ); // encode strings for xml static sal_Unicode impl_defineSeperator ( const ::framework::StringList& lList ); // search seperator for lists static void impl_initFilterHashNew2Old ( StringHash& aHash ); // initialize converter table to restaurate old filter names - static void impl_orderAlphabetical ( css::uno::Sequence< ::rtl::OUString >& lList ); // sort stringlist of internal type-, filter- ... names in alphabetical order to generate xcd files everytime in the same way + static void impl_orderAlphabetical ( css::uno::Sequence< ::rtl::OUString >& lList ); // sort stringlist of internal type-, filter- ... names in alphabetical order to generate xcd files every time in the same way static sal_Bool impl_isUsAsciiAlphaDigit ( sal_Unicode c , sal_Bool bDigitAllowed = sal_True ); static ::rtl::OUString impl_encodeSetName ( const ::rtl::OUString& rSource ); @@ -229,7 +229,7 @@ void XCDGenerator::Main() // impl_printCopyright(); // Init global servicemanager and set it. - // It's neccessary for other services ... e.g. configuration. + // It's necessary for other services ... e.g. configuration. ServiceManager aManager; ::comphelper::setProcessServiceFactory( aManager.getGlobalUNOServiceManager() ); ::utl::setProcessServiceFactory ( aManager.getGlobalUNOServiceManager() ); @@ -251,7 +251,7 @@ void XCDGenerator::Main() // Get some statistic informations of current filled filter cache ... (e.g. count of current activae filters) // because we need it to check if all filters are converted and written to disk. - // May be it's possible to lose some of them during convertion!!! + // May be it's possible to lose some of them during conversion!!! m_aData.nOriginalTypes = m_aData.pFilterCache->getAllTypeNames().getLength() ; m_aData.nOriginalFilters = m_aData.pFilterCache->getAllFilterNames().getLength() ; m_aData.nOriginalDetectors = m_aData.pFilterCache->getAllDetectorNames().getLength() ; @@ -324,7 +324,7 @@ void XCDGenerator::impl_printSyntax() @seealso - @param "rMember", reference to struct of global application member to fill arguments in it - @return right filled member struct or unchanged struct if an error occure! + @return right filled member struct or unchanged struct if an error occur! @onerror We do nothing - or warn programmer! *//*-*************************************************************************************************************/ @@ -638,7 +638,7 @@ void XCDGenerator::impl_generateTypeTemp m_aData.sBufferStandard.appendAscii( "\t\t\t<schema:value cfg:name=\"Data\" cfg:type=\"string\" cfg:writable=\"" ); m_aData.sBufferStandard.appendAscii( m_aData.bWriteable==sal_True ? "true\">\n" : "false\">\n" ); m_aData.sBufferStandard.appendAscii("\t\t\t\t<schema:documentation>\n" ); - m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Containes all data of a type as an own formated string.{Preferred, MediaType, ClipboardFormat, URLPattern, Extensions, DocumentIconID}</schema:description>\n" ); + m_aData.sBufferStandard.appendAscii( "\t\t\t\t\t<schema:description>Contains all data of a type as an own formated string.{Preferred, MediaType, ClipboardFormat, URLPattern, Extensions, DocumentIconID}</schema:description>\n" ); m_aData.sBufferStandard.appendAscii( "\t\t\t\t</schema:documentation>\n" ); m_aData.sBufferStandard.appendAscii( "\t\t\t\t<default:data>false</default:data>\n" ); m_aData.sBufferStandard.appendAscii( "\t\t\t</schema:value>\n" ); @@ -1525,7 +1525,7 @@ void XCDGenerator::impl_generateUINamesP ++pUIName; } - // Generate full localized set, if some values are realy loclaized. + // Generate full localized set, if some values are really loclaized. if( bDifferent == sal_True ) { for( ConstStringHashIterator pUIName=lUINames.begin(); pUIName!=lUINames.end(); ++pUIName ) @@ -1603,7 +1603,7 @@ sal_Unicode XCDGenerator::impl_defineSep // Start with first seperator. // Step over all list items. // If one item contains this seperator - try next one! - // If no new one avaliable (5 tests failed!) - show an error message for user. + // If no new one available (5 tests failed!) - show an error message for user. // => File will be wrong then! // If seperator was changed start search during list again ... because // new seperator could exist at already compared elements!
