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>
This commit is contained in:
@@ -313,7 +313,7 @@ class Parser:
|
|||||||
"pyuno" : 1,
|
"pyuno" : 1,
|
||||||
"registry" : 1,
|
"registry" : 1,
|
||||||
"remotebridges" : 1,
|
"remotebridges" : 1,
|
||||||
"reportdesign" : 0, #
|
"reportdesign" : 1,
|
||||||
"rsc" : 1,
|
"rsc" : 1,
|
||||||
"sal" : 1,
|
"sal" : 1,
|
||||||
"salhelper" : 1,
|
"salhelper" : 1,
|
||||||
@@ -324,7 +324,7 @@ class Parser:
|
|||||||
"scripting" : 1,
|
"scripting" : 1,
|
||||||
"sd" : 1,
|
"sd" : 1,
|
||||||
"sdext" : 1,
|
"sdext" : 1,
|
||||||
"sfx2" : 0, #
|
"sfx2" : 1,
|
||||||
"shell" : 1,
|
"shell" : 1,
|
||||||
"setup_native" : 1,
|
"setup_native" : 1,
|
||||||
"sot" : 1,
|
"sot" : 1,
|
||||||
@@ -333,7 +333,7 @@ class Parser:
|
|||||||
"solenv" : 1,
|
"solenv" : 1,
|
||||||
"soltools" : 1,
|
"soltools" : 1,
|
||||||
"starmath" : 1,
|
"starmath" : 1,
|
||||||
"stoc" : 0, #
|
"stoc" : 1,
|
||||||
"store" : 1,
|
"store" : 1,
|
||||||
"svgio" : 1,
|
"svgio" : 1,
|
||||||
"svl" : 1,
|
"svl" : 1,
|
||||||
|
@@ -1282,7 +1282,7 @@ Reference<XRegistryKey > ORegistryServiceManager::getRootKey()
|
|||||||
// DefaultRegistry suchen !!!!
|
// DefaultRegistry suchen !!!!
|
||||||
if( !m_xRegistry.is() && !m_searchedRegistry )
|
if( !m_xRegistry.is() && !m_searchedRegistry )
|
||||||
{
|
{
|
||||||
// merken, es wird nur einmal gesucht
|
// NB. we only search this once
|
||||||
m_searchedRegistry = true;
|
m_searchedRegistry = true;
|
||||||
|
|
||||||
m_xRegistry.set(
|
m_xRegistry.set(
|
||||||
|
@@ -745,21 +745,21 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
"Meyer",
|
"Meyer",
|
||||||
"33",
|
"33",
|
||||||
"3",
|
"3",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"315",
|
"315",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"42",
|
"42",
|
||||||
"112",
|
"112",
|
||||||
"99",
|
"99",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert",
|
"Value has not been modified",
|
||||||
"10",
|
"10",
|
||||||
"Wert wurde nicht modifiziert"
|
"Value has not been modified",
|
||||||
"Wert wurde nicht modifiziert"
|
"Value has not been modified",
|
||||||
};
|
};
|
||||||
|
|
||||||
char const * pDemandedPropTypes[] =
|
char const * pDemandedPropTypes[] =
|
||||||
@@ -1061,12 +1061,12 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
// loop over all concept combinations
|
// loop over all concept combinations
|
||||||
for( sal_Int32 nConcepts = 0 ; nConcepts < 128 ; nConcepts++ )
|
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;
|
sal_Int32 nRealConcepts = nConcepts;
|
||||||
if( nConcepts & 0x40 )
|
if( nConcepts & 0x40 )
|
||||||
nRealConcepts |= (0xFFFFFFFF - 0x3F);
|
nRealConcepts |= (0xFFFFFFFF - 0x3F);
|
||||||
|
|
||||||
// Wieviele Methoden sollten es sein
|
// Count the number of methods there should be
|
||||||
sal_Int32 nDemandedMethCount = 0;
|
sal_Int32 nDemandedMethCount = 0;
|
||||||
sal_Int32 iList = 0;
|
sal_Int32 iList = 0;
|
||||||
while( pMethodDefs[ iList ].pName )
|
while( pMethodDefs[ iList ].pName )
|
||||||
@@ -1076,7 +1076,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
iList++;
|
iList++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Methoden-Array ausgeben
|
// Output the method array.
|
||||||
Sequence< Reference< XIdlMethod > > aMethodSeq = xAccess->getMethods( nRealConcepts );
|
Sequence< Reference< XIdlMethod > > aMethodSeq = xAccess->getMethods( nRealConcepts );
|
||||||
sal_Int32 nLen = aMethodSeq.getLength();
|
sal_Int32 nLen = aMethodSeq.getLength();
|
||||||
|
|
||||||
@@ -1092,14 +1092,12 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
|
|
||||||
for( i = 0 ; i < nLen ; i++ )
|
for( i = 0 ; i < nLen ; i++ )
|
||||||
{
|
{
|
||||||
// Methode ansprechen
|
|
||||||
const Reference< XIdlMethod >& rxMethod = pMethods[i];
|
const Reference< XIdlMethod >& rxMethod = pMethods[i];
|
||||||
|
|
||||||
// Methode ausgeben
|
|
||||||
OUString aMethName = rxMethod->getName();
|
OUString aMethName = rxMethod->getName();
|
||||||
OString aNameStr = OUStringToOString(aMethName, RTL_TEXTENCODING_ASCII_US );
|
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 )
|
while( pMethodDefs[ iList ].pName )
|
||||||
{
|
{
|
||||||
if( pMethodDefs[ iList ].nConcept & nRealConcepts )
|
if( pMethodDefs[ iList ].nConcept & nRealConcepts )
|
||||||
@@ -1116,7 +1114,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
aErrorStr += "\"";
|
aErrorStr += "\"";
|
||||||
OSL_ENSURE( aNameStr == aDemandedName, aErrorStr.getStr() );
|
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 = "method \"";
|
||||||
aErrorStr += aDemandedName;
|
aErrorStr += aDemandedName;
|
||||||
aErrorStr += "\" not found with hasMethod()";
|
aErrorStr += "\" not found with hasMethod()";
|
||||||
@@ -1149,10 +1147,7 @@ static sal_Bool test_introsp( Reference< XMultiServiceFactory > xMgr,
|
|||||||
const Type* pListeners = aClassSeq.getConstArray();
|
const Type* pListeners = aClassSeq.getConstArray();
|
||||||
for( sal_Int32 i = 0 ; i < nLen ; i++ )
|
for( sal_Int32 i = 0 ; i < nLen ; i++ )
|
||||||
{
|
{
|
||||||
// Methode ansprechen
|
|
||||||
const Type& aListenerType = pListeners[i];
|
const Type& aListenerType = pListeners[i];
|
||||||
|
|
||||||
// get name
|
|
||||||
OUString aListenerClassName = aListenerType.getTypeName();
|
OUString aListenerClassName = aListenerType.getTypeName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user