diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2017-01-30 16:20:20 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2017-01-30 21:03:55 +0000 |
commit | 9c25f6c9fd2331da44544ac360ab82166e12e9cb (patch) | |
tree | 581de01ffdc541807634732bd8b71e9b77968a2c /stoc | |
parent | 4649a2c6b3323622336b9713f90526fbb039bb39 (diff) |
German comments - last bits of stoc/ translated.
Change-Id: If43573010a4a77ed5b1878a4c5baeac139b30b89
Reviewed-on: https://gerrit.libreoffice.org/33708
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 2 | ||||
-rw-r--r-- | stoc/test/testintrosp.cxx | 35 |
2 files changed, 16 insertions, 21 deletions
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(); } |