summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-04 21:30:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-05 13:59:05 +0100
commit5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch)
treeb2c358d422775d0d9d312cca653c9e4e7b989ed2 /accessibility
parentdd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff)
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/accessibleeditbrowseboxcell.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
index 7ff06baa8cc4..3af511788ab6 100644
--- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
+++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
@@ -133,17 +133,17 @@ namespace accessibility
SolarMethodGuard aGuard( *this );
// TODO: localize this!
- String sName = mpBrowseBox->GetColumnDescription( ::sal::static_int_cast< sal_uInt16 >( getColumnPos() ) );
- if ( 0 == sName.Len() )
+ rtl::OUStringBuffer sName(mpBrowseBox->GetColumnDescription( ::sal::static_int_cast< sal_uInt16 >( getColumnPos() ) ));
+ if ( 0 == sName.getLength() )
{
- sName = String::CreateFromAscii( "Column " );
- sName += String::CreateFromInt32( getColumnPos( ) );
+ sName.appendAscii(RTL_CONSTASCII_STRINGPARAM("Column "));
+ sName.append(getColumnPos());
}
- sName += String::CreateFromAscii( ", Row " );
- sName += String::CreateFromInt32( getRowPos( ) );
+ sName.appendAscii(RTL_CONSTASCII_STRINGPARAM(", Row "));
+ sName.append(getRowPos());
- return ::rtl::OUString( sName );
+ return sName.makeStringAndClear();
}
// -----------------------------------------------------------------------------