diff options
Diffstat (limited to 'framework/test')
-rw-r--r-- | framework/test/test.cxx | 6 | ||||
-rw-r--r-- | framework/test/test_componentenumeration.bas | 4 | ||||
-rw-r--r-- | framework/test/test_statusindicatorfactory.bas | 10 | ||||
-rw-r--r-- | framework/test/threadtest.cxx | 4 | ||||
-rw-r--r-- | framework/test/threadtest/threadtest.cxx | 4 | ||||
-rw-r--r-- | framework/test/typecfg/cfgview.cxx | 4 | ||||
-rw-r--r-- | framework/test/typecfg/xml2xcd.cxx | 18 |
7 files changed, 25 insertions, 25 deletions
diff --git a/framework/test/test.cxx b/framework/test/test.cxx index aef8153152bc..59c8053ff0ee 100644 --- a/framework/test/test.cxx +++ b/framework/test/test.cxx @@ -186,7 +186,7 @@ void TestApplication::Main() m_xFactory = aManager.getGlobalUNOServiceManager(); setProcessServiceFactory( m_xFactory ); - // Control sucess of operation. + // Control success of operation. LOG_ASSERT( !(m_xFactory.is() ==sal_False ), "TestApplication::Main()\nCan't create global service manager.\n\n" ) LOG_ASSERT( !(getProcessServiceFactory()!=m_xFactory), "TestApplication::Main()\nGlobal servicemanager not set in UNOTOOLS.\n\n" ) @@ -616,7 +616,7 @@ void TestApplication::impl_testDesktop( const Reference< XDesktop >& xDesktop ) LOG_ASSERT( !(xDesktopFrame->getName()!=sName), "TestApplication::impl_testDesktop()\nSetting of name works not correct on desktop.\n\n" ) // Reset name do default! - // Its neccessary for follow operations. + // Its necessary for follow operations. sName = OUString( RTL_CONSTASCII_USTRINGPARAM("Desktop") ); xDesktopFrame->setName( sName ); @@ -1304,7 +1304,7 @@ sal_Bool TestApplication::impl_testTreeSearch() } // Test inside/outside tasks search - // No frames outside current task should be found if TASKS flag isnt set. + // No frames outside current task should be found if TASKS flag isn't set. // Otherwise he must be found! if ( ( xF21211->findFrame( DECLARE_ASCII("F12" ), FrameSearchFlag::ALL ) == xF12 ) || diff --git a/framework/test/test_componentenumeration.bas b/framework/test/test_componentenumeration.bas index c837bea2fb73..ec52ce6d5cef 100644 --- a/framework/test/test_componentenumeration.bas +++ b/framework/test/test_componentenumeration.bas @@ -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 diff --git a/framework/test/test_statusindicatorfactory.bas b/framework/test/test_statusindicatorfactory.bas index 9cd80a6d2605..6c7103c2b770 100644 --- a/framework/test/test_statusindicatorfactory.bas +++ b/framework/test/test_statusindicatorfactory.bas @@ -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!" diff --git a/framework/test/threadtest.cxx b/framework/test/threadtest.cxx index ec4285b710fe..a0e7e52608d8 100644 --- a/framework/test/threadtest.cxx +++ b/framework/test/threadtest.cxx @@ -290,7 +290,7 @@ class ThreadSafeClass : private TransactionBase 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, sal_Int32 nThreadID ) 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 ) diff --git a/framework/test/threadtest/threadtest.cxx b/framework/test/threadtest/threadtest.cxx index 7f79e25d0a98..4776fef75536 100644 --- a/framework/test/threadtest/threadtest.cxx +++ b/framework/test/threadtest/threadtest.cxx @@ -288,7 +288,7 @@ class ThreadSafeClass : private ThreadHelpBase 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 diff --git a/framework/test/typecfg/cfgview.cxx b/framework/test/typecfg/cfgview.cxx index 8dbfb5ec27bb..eddb6d1245c9 100644 --- a/framework/test/typecfg/cfgview.cxx +++ b/framework/test/typecfg/cfgview.cxx @@ -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! *//*-*************************************************************************************************************/ diff --git a/framework/test/typecfg/xml2xcd.cxx b/framework/test/typecfg/xml2xcd.cxx index 9922f2c7eeb3..a9409fbfe1b3 100644 --- a/framework/test/typecfg/xml2xcd.cxx +++ b/framework/test/typecfg/xml2xcd.cxx @@ -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_generateTypeTemplate() 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_generateUINamesProperty( ::rtl::OUStringBuffer& ++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_defineSeperator( const ::framework::StringList& l // 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! |