[Libreoffice-commits] .: basctl/source

August Sodora augsod at kemper.freedesktop.org
Mon Nov 28 19:20:46 PST 2011


 basctl/source/dlged/propbrw.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 88459fcc8f768e7a7f5116211635c6f6ba7ccb7b
Author: August Sodora <augsod at gmail.com>
Date:   Mon Nov 28 22:20:38 2011 -0500

    String->OUString

diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 7f3b684..5ee9c28 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;


More information about the Libreoffice-commits mailing list