summaryrefslogtreecommitdiff
path: root/basic/source/runtime/step1.cxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2011-03-22 08:03:25 +0100
committerDavid Tardon <dtardon@redhat.com>2011-03-22 08:03:25 +0100
commit1a0760384e16a390a3a29c414db9ccc4180202b7 (patch)
treee72f628743e15930834770328a934ec5afa0084f /basic/source/runtime/step1.cxx
parent3117cd00578eb21ec6344799e8bd65a38f59077e (diff)
Replace String with rtl::OUString
Diffstat (limited to 'basic/source/runtime/step1.cxx')
-rwxr-xr-xbasic/source/runtime/step1.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/runtime/step1.cxx b/basic/source/runtime/step1.cxx
index 53b482b8f22e..88661ead396d 100755
--- a/basic/source/runtime/step1.cxx
+++ b/basic/source/runtime/step1.cxx
@@ -40,7 +40,7 @@
#include "errobject.hxx"
bool checkUnoObjectType( SbUnoObject* refVal,
- const String& aClass );
+ const ::rtl::OUString& aClass );
// Laden einer numerischen Konstanten (+ID)
@@ -437,15 +437,15 @@ void SbiRuntime::StepPRCHAR( sal_uInt32 nOp1 )
// Check, ob TOS eine bestimmte Objektklasse ist (+StringID)
-bool SbiRuntime::implIsClass( SbxObject* pObj, const String& aClass )
+bool SbiRuntime::implIsClass( SbxObject* pObj, const ::rtl::OUString& aClass )
{
bool bRet = true;
- if( aClass.Len() != 0 )
+ if( !aClass.isEmpty() )
{
bRet = pObj->IsClass( aClass );
if( !bRet )
- bRet = aClass.EqualsIgnoreCaseAscii( String( RTL_CONSTASCII_USTRINGPARAM("object") ) );
+ bRet = aClass.equalsIgnoreAsciiCaseAsciiL( RTL_CONSTASCII_STRINGPARAM("object") );
if( !bRet )
{
String aObjClass = pObj->GetClassName();
@@ -463,7 +463,7 @@ bool SbiRuntime::implIsClass( SbxObject* pObj, const String& aClass )
}
bool SbiRuntime::checkClass_Impl( const SbxVariableRef& refVal,
- const String& aClass, bool bRaiseErrors, bool bDefault )
+ const ::rtl::OUString& aClass, bool bRaiseErrors, bool bDefault )
{
bool bOk = bDefault;