diff options
author | August Sodora <augsod@gmail.com> | 2011-11-21 23:54:04 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-11-21 23:54:04 -0500 |
commit | 89e27727c9b7cfd4e74a007a3390052cd1c13afb (patch) | |
tree | f02e78ab35eb21726bb8983c7157dfc6d99b49dc | |
parent | 462c6fc24f1d64acedca02f62f1f4c0a079f4db0 (diff) |
String->OUString
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 4 | ||||
-rw-r--r-- | basctl/source/dlged/propbrw.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index 7b8bdc95b060..bb25f0130bb6 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -564,7 +564,7 @@ void DlgEdObj::UpdateStep() sal_Int32 nStep = GetStep(); 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 ); if( nCurStep ) @@ -793,7 +793,7 @@ sal_Bool DlgEdObj::supportsService( const sal_Char* _pServiceName ) const if (nResId) { - aDefaultName = ::rtl::OUString( String(IDEResId(nResId)) ); + aDefaultName = ResId::toString(IDEResId(nResId)); } return aDefaultName; diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index 50d5b039e26e..817e065c6dea 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -455,7 +455,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) if (nResId) { - aName += ::rtl::OUString( String(IDEResId(nResId)) ); + aName += ResId::toString(IDEResId(nResId)); } } else if (!_rxObject.is()) // no properties |