Kaydet (Commit) 89e27727 authored tarafından August Sodora's avatar August Sodora

String->OUString

üst 462c6fc2
...@@ -564,7 +564,7 @@ void DlgEdObj::UpdateStep() ...@@ -564,7 +564,7 @@ void DlgEdObj::UpdateStep()
sal_Int32 nStep = GetStep(); sal_Int32 nStep = GetStep();
SdrLayerAdmin& rLayerAdmin = GetModel()->GetLayerAdmin(); SdrLayerAdmin& rLayerAdmin = GetModel()->GetLayerAdmin();
SdrLayerID nHiddenLayerId = rLayerAdmin.GetLayerID( String( RTL_CONSTASCII_USTRINGPARAM( "HiddenLayer" ) ), sal_False ); SdrLayerID nHiddenLayerId = rLayerAdmin.GetLayerID( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "HiddenLayer" ) ), sal_False );
SdrLayerID nControlLayerId = rLayerAdmin.GetLayerID( rLayerAdmin.GetControlLayerName(), sal_False ); SdrLayerID nControlLayerId = rLayerAdmin.GetLayerID( rLayerAdmin.GetControlLayerName(), sal_False );
if( nCurStep ) if( nCurStep )
...@@ -793,7 +793,7 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const ...@@ -793,7 +793,7 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const
if (nResId) if (nResId)
{ {
aDefaultName = ::rtl::OUString( String(IDEResId(nResId)) ); aDefaultName = ResId::toString(IDEResId(nResId));
} }
return aDefaultName; return aDefaultName;
......
...@@ -455,7 +455,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) ...@@ -455,7 +455,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
if (nResId) if (nResId)
{ {
aName += ::rtl::OUString( String(IDEResId(nResId)) ); aName += ResId::toString(IDEResId(nResId));
} }
} }
else if (!_rxObject.is()) // no properties else if (!_rxObject.is()) // no properties
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment