diff options
author | August Sodora <augsod@gmail.com> | 2011-11-28 22:20:38 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-11-28 22:20:38 -0500 |
commit | 88459fcc8f768e7a7f5116211635c6f6ba7ccb7b (patch) | |
tree | 7fa565fc5643f56f8478bb410fab1327f12ecf9c /basctl | |
parent | a82a87315033e416d267242002b6722051deb8a4 (diff) |
String->OUString
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/propbrw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index 7f3b684a41a7..5ee9c2886289 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -330,8 +330,8 @@ void PropBrw::implSetNewObjectSequence { xObjectInspector->inspect( _rObjectSeq ); - ::rtl::OUString aText = ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_PROPERTIES))); - aText += ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_MULTISELECT))); + ::rtl::OUString aText = ResId::toString(IDEResId(RID_STR_BRWTITLE_PROPERTIES)); + aText += ResId::toString(IDEResId(RID_STR_BRWTITLE_MULTISELECT)); SetText( aText ); } } @@ -360,7 +360,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) if (xServiceInfo.is()) // single selection { sal_uInt16 nResId = 0; - aName = ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_PROPERTIES))); + aName = ResId::toString(IDEResId(RID_STR_BRWTITLE_PROPERTIES)); if ( xServiceInfo->supportsService( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ) ) ) { @@ -458,7 +458,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) } else if (!_rxObject.is()) // no properties { - aName = ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_NO_PROPERTIES))); + aName = ResId::toString(IDEResId(RID_STR_BRWTITLE_NO_PROPERTIES)); } return aName; |