diff options
-rwxr-xr-x | bin/find-german-comments | 6 | ||||
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 35 |
3 files changed, 19 insertions, 24 deletions
diff --git a/bin/find-german-comments b/bin/find-german-comments index 13653d9e03de..fe93a7bc8d25 100755 --- a/bin/find-german-comments +++ b/bin/find-german-comments @@ -313,7 +313,7 @@ class Parser: "pyuno" : 1, "registry" : 1, "remotebridges" : 1, - "reportdesign" : 0, # + "reportdesign" : 1, "rsc" : 1, "sal" : 1, "salhelper" : 1, @@ -324,7 +324,7 @@ class Parser: "scripting" : 1, "sd" : 1, "sdext" : 1, - "sfx2" : 0, # + "sfx2" : 1, "shell" : 1, "setup_native" : 1, "sot" : 1, @@ -333,7 +333,7 @@ class Parser: "solenv" : 1, "soltools" : 1, "starmath" : 1, - "stoc" : 0, # + "stoc" : 1, "store" : 1, "svgio" : 1, "svl" : 1, diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index 8a6fb3bf9df5..69ccb3f387b3 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -1282,7 +1282,7 @@ Reference<XRegistryKey > ORegistryServiceManager::getRootKey() // DefaultRegistry suchen !!!! if( !m_xRegistry.is() && !m_searchedRegistry ) { - // merken, es wird nur einmal gesucht + // NB. we only search this once m_searchedRegistry = true; m_xRegistry.set( diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 2d5a682bd583..6ac0d399b0ad 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -745,21 +745,21 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, "Meyer", "33", "3", - "Wert wurde nicht modifiziert", - "Wert wurde nicht modifiziert", + "Value has not been modified", + "Value has not been modified", "315", - "Wert wurde nicht modifiziert", + "Value has not been modified", "42", "112", "99", - "Wert wurde nicht modifiziert", - "Wert wurde nicht modifiziert", - "Wert wurde nicht modifiziert", - "Wert wurde nicht modifiziert", - "Wert wurde nicht modifiziert", + "Value has not been modified", + "Value has not been modified", + "Value has not been modified", + "Value has not been modified", + "Value has not been modified", "10", - "Wert wurde nicht modifiziert" - "Wert wurde nicht modifiziert" + "Value has not been modified", + "Value has not been modified", }; char const * pDemandedPropTypes[] = @@ -1061,12 +1061,12 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, // loop over all concept combinations for( sal_Int32 nConcepts = 0 ; nConcepts < 128 ; nConcepts++ ) { - // Das 2^6-Bit steht fuer "den Rest" + // The 2^6th bit stands for "the rest" sal_Int32 nRealConcepts = nConcepts; if( nConcepts & 0x40 ) nRealConcepts |= (0xFFFFFFFF - 0x3F); - // Wieviele Methoden sollten es sein + // Count the number of methods there should be sal_Int32 nDemandedMethCount = 0; sal_Int32 iList = 0; while( pMethodDefs[ iList ].pName ) @@ -1076,7 +1076,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, iList++; } - // Methoden-Array ausgeben + // Output the method array. Sequence< Reference< XIdlMethod > > aMethodSeq = xAccess->getMethods( nRealConcepts ); sal_Int32 nLen = aMethodSeq.getLength(); @@ -1092,14 +1092,12 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, for( i = 0 ; i < nLen ; i++ ) { - // Methode ansprechen const Reference< XIdlMethod >& rxMethod = pMethods[i]; - // Methode ausgeben OUString aMethName = rxMethod->getName(); OString aNameStr = OUStringToOString(aMethName, RTL_TEXTENCODING_ASCII_US ); - // Naechste Passende Methode in der Liste suchen + // locate the next matching method in the list. while( pMethodDefs[ iList ].pName ) { if( pMethodDefs[ iList ].nConcept & nRealConcepts ) @@ -1116,7 +1114,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, aErrorStr += "\""; OSL_ENSURE( aNameStr == aDemandedName, aErrorStr.getStr() ); - // Checken, ob alle Methoden auch einzeln gefunden werden + // Check that the method is really there with hasMethod. aErrorStr = "method \""; aErrorStr += aDemandedName; aErrorStr += "\" not found with hasMethod()"; @@ -1149,10 +1147,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr, const Type* pListeners = aClassSeq.getConstArray(); for( sal_Int32 i = 0 ; i < nLen ; i++ ) { - // Methode ansprechen const Type& aListenerType = pListeners[i]; - - // get name OUString aListenerClassName = aListenerType.getTypeName(); } |