From c1435d9ea65982ede988b6b7009d7ff219491929 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 23 Oct 2012 22:56:10 +0200 Subject: basic: use OUString in DimAsNewRecoverItem Change-Id: Icfecff549161c3c429524549b65752671792a94f --- basic/source/runtime/step0.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx index bd7bbe35113b..a436c100e573 100644 --- a/basic/source/runtime/step0.cxx +++ b/basic/source/runtime/step0.cxx @@ -455,8 +455,8 @@ void SbiRuntime::StepPUT() // VBA Dim As New behavior handling, save init object information struct DimAsNewRecoverItem { - String m_aObjClass; - String m_aObjName; + OUString m_aObjClass; + OUString m_aObjName; SbxObject* m_pObjParent; SbModule* m_pClassModule; @@ -465,8 +465,8 @@ struct DimAsNewRecoverItem , m_pClassModule( NULL ) {} - DimAsNewRecoverItem( const String& rObjClass, const String& rObjName, - SbxObject* pObjParent, SbModule* pClassModule ) + DimAsNewRecoverItem( const OUString& rObjClass, const OUString& rObjName, + SbxObject* pObjParent, SbModule* pClassModule ) : m_aObjClass( rObjClass ) , m_aObjName( rObjName ) , m_pObjParent( pObjParent ) @@ -659,7 +659,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b pNewObj->SetParent( rItem.m_pObjParent ); refVar->PutObject( pNewObj ); } - else if( rItem.m_aObjClass.EqualsIgnoreCaseAscii( pCollectionStr ) ) + else if( rItem.m_aObjClass.equalsIgnoreAsciiCaseAscii( pCollectionStr ) ) { BasicCollection* pNewCollection = new BasicCollection( OUString(pCollectionStr) ); pNewCollection->SetName( rItem.m_aObjName ); -- cgit v1.2.3