Kaydet (Commit) 88459fcc authored tarafından August Sodora's avatar August Sodora

String->OUString

üst a82a8731
...@@ -330,8 +330,8 @@ void PropBrw::implSetNewObjectSequence ...@@ -330,8 +330,8 @@ void PropBrw::implSetNewObjectSequence
{ {
xObjectInspector->inspect( _rObjectSeq ); xObjectInspector->inspect( _rObjectSeq );
::rtl::OUString aText = ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_PROPERTIES))); ::rtl::OUString aText = ResId::toString(IDEResId(RID_STR_BRWTITLE_PROPERTIES));
aText += ::rtl::OUString(String(IDEResId(RID_STR_BRWTITLE_MULTISELECT))); aText += ResId::toString(IDEResId(RID_STR_BRWTITLE_MULTISELECT));
SetText( aText ); SetText( aText );
} }
} }
...@@ -360,7 +360,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) ...@@ -360,7 +360,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
if (xServiceInfo.is()) // single selection if (xServiceInfo.is()) // single selection
{ {
sal_uInt16 nResId = 0; 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" ) ) ) ) if ( xServiceInfo->supportsService( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlDialogModel" ) ) ) )
{ {
...@@ -458,7 +458,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject ) ...@@ -458,7 +458,7 @@ void PropBrw::implSetNewObject( const Reference< XPropertySet >& _rxObject )
} }
else if (!_rxObject.is()) // no properties 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; return aName;
......
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