summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 15:05:52 +0200
committerJan Holesovsky <kendy@suse.cz>2012-04-06 15:07:41 +0200
commit743f22045c4ec08c46c259fc0ba240194a391457 (patch)
treefaed42bb31c4ee767619eb5c3ebd4dec0a41fa03 /stoc
parent0c6ebe5d225d6a655f078977455cec6d0a3afa6e (diff)
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx8
-rw-r--r--stoc/source/javavm/javavm.cxx8
-rw-r--r--stoc/source/security/access_controller.cxx10
-rw-r--r--stoc/source/security/permissions.cxx4
-rw-r--r--stoc/source/servicemanager/servicemanager.cxx10
-rw-r--r--stoc/source/tdmanager/tdmgr.cxx30
-rw-r--r--stoc/test/security/test_security.cxx2
-rw-r--r--stoc/test/testiadapter.cxx80
8 files changed, 76 insertions, 76 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 1b57eb7de563..48fa447bdef7 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2365,7 +2365,7 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
}
else if( rxMethod_i->getDeclaringClass()->equals( mxAggregationClass ) )
{
- if( aMethName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("setDelegator")) )
+ if ( aMethName == "setDelegator" )
{
rMethodConcept_i |= MethodConcept::DANGEROUS;
continue;
@@ -2398,7 +2398,7 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
// Ist es eine get-Methode?
aStartStr = aMethName.copy( 0, 3 );
- if( aStartStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("get")) )
+ if ( aStartStr == "get" )
{
// Namen der potentiellen Property
aPropName = aMethName.copy( 3 );
@@ -2519,7 +2519,7 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
}
// Ist es eine addListener-Methode?
- else if( aStartStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("add")) )
+ else if ( aStartStr == "add" )
{
OUString aListenerStr( RTL_CONSTASCII_USTRINGPARAM("Listener" ) );
@@ -2608,7 +2608,7 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
// Ist es eine set-Methode ohne zugehoerige get-Methode?
aStartStr = aMethName.copy( 0, 3 );
- if( aStartStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("set")) )
+ if ( aStartStr == "set" )
{
// Namen der potentiellen Property
aPropName = aMethName.copy( 3 );
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 25d0000fea0d..c73d2fae4cd4 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -1128,7 +1128,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
rtl::OUString aPropertyName2;
rtl::OUString aPropertyValue;
bool bSecurityChanged = false;
- if (aAccessor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ooInetProxyType")))
+ if ( aAccessor == "ooInetProxyType" )
{
// Proxy none, manually
sal_Int32 value = 0;
@@ -1194,7 +1194,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
rEvent.Element >>= aPropertyValue;
aPropertyValue = aPropertyValue.replace(';', '|');
}
- else if (aAccessor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("NetAccess")))
+ else if ( aAccessor == "NetAccess" )
{
aPropertyName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"appletviewer.security.mode"));
@@ -1219,7 +1219,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
return;
bSecurityChanged = true;
}
- else if (aAccessor.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Security")))
+ else if ( aAccessor == "Security" )
{
aPropertyName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"stardiv.security.disableSecurity"));
@@ -1347,7 +1347,7 @@ void SAL_CALL JavaVirtualMachine::elementReplaced(
const jchar* jcharName= pJNIEnv->GetStringChars( jsClass, NULL);
rtl::OUString sName( jcharName);
jboolean bIsSandbox;
- if (sName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.lib.sandbox.SandboxSecurity")))
+ if ( sName == "com.sun.star.lib.sandbox.SandboxSecurity" )
bIsSandbox= JNI_TRUE;
else
bIsSandbox= JNI_FALSE;
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index f2b029bcdaa4..00dc8edde9af 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -485,19 +485,19 @@ AccessController::AccessController( Reference< XComponentContext > const & xComp
OUString mode;
if (m_xComponentContext->getValueByName( OUSTR("/services/" SERVICE_NAME "/mode") ) >>= mode)
{
- if (mode.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("off") ))
+ if ( mode == "off" )
{
m_mode = OFF;
}
- else if (mode.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("on") ))
+ else if ( mode == "on" )
{
m_mode = ON;
}
- else if (mode.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("dynamic-only") ))
+ else if ( mode == "dynamic-only" )
{
m_mode = DYNAMIC_ONLY;
}
- else if (mode.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("single-user") ))
+ else if ( mode == "single-user" )
{
m_xComponentContext->getValueByName(
OUSTR("/services/" SERVICE_NAME "/single-user-id") ) >>= m_singleUserId;
@@ -510,7 +510,7 @@ AccessController::AccessController( Reference< XComponentContext > const & xComp
}
m_mode = SINGLE_USER;
}
- else if (mode.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("single-default-user") ))
+ else if ( mode == "single-default-user" )
{
m_mode = SINGLE_DEFAULT_USER;
}
diff --git a/stoc/source/security/permissions.cxx b/stoc/source/security/permissions.cxx
index d8327344d4ef..236294664b8b 100644
--- a/stoc/source/security/permissions.cxx
+++ b/stoc/source/security/permissions.cxx
@@ -336,14 +336,14 @@ FilePermission::FilePermission(
{
if (! m_allFiles)
{
- if (m_url.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("*") ))
+ if ( m_url == "*" )
{
OUStringBuffer buf( 64 );
buf.append( getWorkingDir() );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("/*") );
m_url = buf.makeStringAndClear();
}
- else if (m_url.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("-") ))
+ else if ( m_url == "-" )
{
OUStringBuffer buf( 64 );
buf.append( getWorkingDir() );
diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx
index 1671321cac23..8cc4fbac3d61 100644
--- a/stoc/source/servicemanager/servicemanager.cxx
+++ b/stoc/source/servicemanager/servicemanager.cxx
@@ -729,7 +729,7 @@ void SAL_CALL OServiceManagerWrapper::setPropertyValue(
throw (beans::UnknownPropertyException, beans::PropertyVetoException,
lang::IllegalArgumentException, lang::WrappedTargetException, RuntimeException)
{
- if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("DefaultContext") ))
+ if ( PropertyName == "DefaultContext" )
{
Reference< XComponentContext > xContext;
if (aValue >>= xContext)
@@ -754,7 +754,7 @@ Any SAL_CALL OServiceManagerWrapper::getPropertyValue(
const OUString& PropertyName )
throw (beans::UnknownPropertyException, lang::WrappedTargetException, RuntimeException)
{
- if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("DefaultContext") ))
+ if ( PropertyName == "DefaultContext" )
{
MutexGuard aGuard( m_mutex );
if( m_xContext.is() )
@@ -1041,7 +1041,7 @@ void OServiceManager::setPropertyValue(
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException)
{
check_undisposed();
- if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("DefaultContext") ))
+ if ( PropertyName == "DefaultContext" )
{
Reference< XComponentContext > xContext;
if (aValue >>= xContext)
@@ -1068,7 +1068,7 @@ Any OServiceManager::getPropertyValue(const OUString& PropertyName)
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException)
{
check_undisposed();
- if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("DefaultContext") ))
+ if ( PropertyName == "DefaultContext" )
{
MutexGuard aGuard( m_mutex );
if( m_xContext.is() )
@@ -1939,7 +1939,7 @@ Any ORegistryServiceManager::getPropertyValue(const OUString& PropertyName)
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException)
{
check_undisposed();
- if (PropertyName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Registry") ))
+ if ( PropertyName == "Registry" )
{
MutexGuard aGuard( m_mutex );
if( m_xRegistry.is() )
diff --git a/stoc/source/tdmanager/tdmgr.cxx b/stoc/source/tdmanager/tdmgr.cxx
index e8a8256395c3..58a1784e5f09 100644
--- a/stoc/source/tdmanager/tdmgr.cxx
+++ b/stoc/source/tdmanager/tdmgr.cxx
@@ -788,35 +788,35 @@ inline Any ManagerImpl::getSimpleType( const OUString & rName )
{
Any aRet;
- if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("string") ))
+ if ( rName == "string" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_STRING, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("long") ))
+ else if ( rName == "long" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_LONG, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("unsigned long") ))
+ else if ( rName == "unsigned long" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_UNSIGNED_LONG, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("boolean") ))
+ else if ( rName == "boolean" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_BOOLEAN, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("char") ))
+ else if ( rName == "char" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_CHAR, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("byte") ))
+ else if ( rName == "byte" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_BYTE, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("short") ))
+ else if ( rName == "short" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_SHORT, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("unsigned short") ))
+ else if ( rName == "unsigned short" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_UNSIGNED_SHORT, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("hyper") ))
+ else if ( rName == "hyper" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_HYPER, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("unsigned hyper") ))
+ else if ( rName == "unsigned hyper" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_UNSIGNED_HYPER, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("float") ))
+ else if ( rName == "float" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_FLOAT, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("double") ))
+ else if ( rName == "double" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_DOUBLE, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("any") ))
+ else if ( rName == "any" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_ANY, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("void") ))
+ else if ( rName == "void" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_VOID, rName ) );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("type") ))
+ else if ( rName == "type" )
aRet <<= Reference< XTypeDescription >( new SimpleTypeDescriptionImpl( TypeClass_TYPE, rName ) );
return aRet;
diff --git a/stoc/test/security/test_security.cxx b/stoc/test/security/test_security.cxx
index b8809dea0885..b920a6ccbe68 100644
--- a/stoc/test/security/test_security.cxx
+++ b/stoc/test/security/test_security.cxx
@@ -132,7 +132,7 @@ void user_CurrentContext::release()
Any user_CurrentContext::getValueByName( OUString const & name )
throw (RuntimeException)
{
- if (name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(USER_CREDS ".id") ))
+ if ( name == USER_CREDS ".id" )
{
return m_userId;
}
diff --git a/stoc/test/testiadapter.cxx b/stoc/test/testiadapter.cxx
index eb0fa8696091..3b63f77a0a1e 100644
--- a/stoc/test/testiadapter.cxx
+++ b/stoc/test/testiadapter.cxx
@@ -347,7 +347,7 @@ Any XLB_Invocation::invoke( const OUString & rFunctionName,
Sequence< TestElement > aSeq;
TestData aData;
- if (rFunctionName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("setValues") ))
+ if ( rFunctionName == "setValues" )
{
OSL_ASSERT( rParams.getLength() == 17 );
aBool = *(sal_Bool *)rParams[0].getValue();
@@ -375,7 +375,7 @@ Any XLB_Invocation::invoke( const OUString & rFunctionName,
rOutParamIndex.realloc( 0 );
rOutParam.realloc( 0 );
}
- else if (rFunctionName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("setValues2") ))
+ else if ( rFunctionName == "setValues2" )
{
aBool = *(sal_Bool *)rParams[0].getValue();
aChar = *(sal_Unicode *)rParams[1].getValue();
@@ -437,7 +437,7 @@ Any XLB_Invocation::invoke( const OUString & rFunctionName,
rOutParam[15] <<= aSeq;
rOutParam[16] <<= aData;
}
- else if (rFunctionName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("getValues") ))
+ else if ( rFunctionName == "getValues" )
{
aRet <<= _xLBT->getValues( aBool, aChar, nByte, nShort, nUShort, nLong, nULong,
nHyper, nUHyper, fFloat, fDouble, eEnum, aString, xInterface,
@@ -481,7 +481,7 @@ Any XLB_Invocation::invoke( const OUString & rFunctionName,
rOutParam[15] <<= aSeq;
rOutParam[16] <<= aData;
}
- else if (rFunctionName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("raiseException") ))
+ else if ( rFunctionName == "raiseException" )
{
aRet <<= _xLBT->raiseException( aBool, aChar, nByte, nShort, nUShort, nLong, nULong,
nHyper, nUHyper, fFloat, fDouble, eEnum, aString, xInterface,
@@ -556,41 +556,41 @@ Any XLB_Invocation::invoke( const OUString & rFunctionName,
void XLB_Invocation::setValue( const OUString & rName, const Any & rValue )
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::script::CannotConvertException, ::com::sun::star::reflection::InvocationTargetException, ::com::sun::star::uno::RuntimeException)
{
- if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Bool") ))
+ if ( rName == "Bool" )
_xLBT->setBool( *(const sal_Bool *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Byte") ))
+ else if ( rName == "Byte" )
_xLBT->setByte( *(const sal_Int8 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Char") ))
+ else if ( rName == "Char" )
_xLBT->setChar( *(const sal_Unicode *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Short") ))
+ else if ( rName == "Short" )
_xLBT->setShort( *(const sal_Int16 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("UShort") ))
+ else if ( rName == "UShort" )
_xLBT->setUShort( *(const sal_uInt16 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Long") ))
+ else if ( rName == "Long" )
_xLBT->setLong( *(const sal_Int32 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("ULong") ))
+ else if ( rName == "ULong" )
_xLBT->setULong( *(const sal_uInt32 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Hyper") ))
+ else if ( rName == "Hyper" )
_xLBT->setHyper( *(const sal_Int64 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("UHyper") ))
+ else if ( rName == "UHyper" )
_xLBT->setUHyper( *(const sal_uInt64 *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Float") ))
+ else if ( rName == "Float" )
_xLBT->setFloat( *(const float *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Double") ))
+ else if ( rName == "Double" )
_xLBT->setDouble( *(const double *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Enum") ))
+ else if ( rName == "Enum" )
_xLBT->setEnum( *(const TestEnum *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("String") ))
+ else if ( rName == "String" )
_xLBT->setString( *(const OUString *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Interface") ))
+ else if ( rName == "Interface" )
_xLBT->setInterface( *(const Reference< XInterface > *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Any") ))
+ else if ( rName == "Any" )
_xLBT->setAny( rValue );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Sequence") ))
+ else if ( rName == "Sequence" )
_xLBT->setSequence( *(const Sequence< TestElement > *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Struct") ))
+ else if ( rName == "Struct" )
_xLBT->setStruct( *(const TestData *)rValue.getValue() );
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("RuntimeException") ))
+ else if ( rName == "RuntimeException" )
_xLBT->setRuntimeException( *(const sal_Int32 *)rValue.getValue() );
}
//__________________________________________________________________________________________________
@@ -598,47 +598,47 @@ Any XLB_Invocation::getValue( const OUString & rName )
throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)
{
Any aRet;
- if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Bool") ))
+ if ( rName == "Bool" )
{
sal_Bool aBool = _xLBT->getBool();
aRet.setValue( &aBool, ::getCppuBooleanType() );
}
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Byte") ))
+ else if ( rName == "Byte" )
aRet <<= _xLBT->getByte();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Char") ))
+ else if ( rName == "Char" )
{
sal_Unicode aChar = _xLBT->getChar();
aRet.setValue( &aChar, ::getCppuCharType() );
}
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Short") ))
+ else if ( rName == "Short" )
aRet <<= _xLBT->getShort();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("UShort") ))
+ else if ( rName == "UShort" )
aRet <<= _xLBT->getUShort();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Long") ))
+ else if ( rName == "Long" )
aRet <<= _xLBT->getLong();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("ULong") ))
+ else if ( rName == "ULong" )
aRet <<= _xLBT->getULong();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Hyper") ))
+ else if ( rName == "Hyper" )
aRet <<= _xLBT->getHyper();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("UHyper") ))
+ else if ( rName == "UHyper" )
aRet <<= _xLBT->getUHyper();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Float") ))
+ else if ( rName == "Float" )
aRet <<= _xLBT->getFloat();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Double") ))
+ else if ( rName == "Double" )
aRet <<= _xLBT->getDouble();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Enum") ))
+ else if ( rName == "Enum" )
aRet <<= _xLBT->getEnum();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("String") ))
+ else if ( rName == "String" )
aRet <<= _xLBT->getString();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Interface") ))
+ else if ( rName == "Interface" )
aRet <<= _xLBT->getInterface();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Any") ))
+ else if ( rName == "Any" )
aRet <<= _xLBT->getAny();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Sequence") ))
+ else if ( rName == "Sequence" )
aRet <<= _xLBT->getSequence();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Struct") ))
+ else if ( rName == "Struct" )
aRet <<= _xLBT->getStruct();
- else if (rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("RuntimeException") ))
+ else if ( rName == "RuntimeException" )
aRet <<= _xLBT->getRuntimeException();
return aRet;
}