summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-10-23 22:52:06 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-03 20:24:26 -0500
commit973d0618393375fafeefbc3a2bb6f3cd73428889 (patch)
tree0c6064a60de0a3dfc428d16be6ed2f6b8f3d6951
parent5120d8c59dc019c09b38cd97c1581b7a4cbf9d2f (diff)
basic: unnecessary round-trip via String
Change-Id: I691a59b8ab9e6352a9257dac35b8e378e6ef9666
-rw-r--r--basic/source/runtime/step0.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/step0.cxx b/basic/source/runtime/step0.cxx
index ee1404db6c2a..bd7bbe35113b 100644
--- a/basic/source/runtime/step0.cxx
+++ b/basic/source/runtime/step0.cxx
@@ -661,7 +661,7 @@ void SbiRuntime::StepSET_Impl( SbxVariableRef& refVal, SbxVariableRef& refVar, b
}
else if( rItem.m_aObjClass.EqualsIgnoreCaseAscii( pCollectionStr ) )
{
- BasicCollection* pNewCollection = new BasicCollection( String( RTL_CONSTASCII_USTRINGPARAM(pCollectionStr) ) );
+ BasicCollection* pNewCollection = new BasicCollection( OUString(pCollectionStr) );
pNewCollection->SetName( rItem.m_aObjName );
pNewCollection->SetParent( rItem.m_pObjParent );
refVar->PutObject( pNewCollection );