summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-10-23 22:56:10 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 20:24:27 -0500
commitc1435d9ea65982ede988b6b7009d7ff219491929 (patch)
tree2ca1b64cf3c6b19139f54c7d052a40e11f0ac949
parent973d0618393375fafeefbc3a2bb6f3cd73428889 (diff)
basic: use OUString in DimAsNewRecoverItem
Change-Id: Icfecff549161c3c429524549b65752671792a94f
-rw-r--r--basic/source/runtime/step0.cxx10
1 files 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 );