diff options
Diffstat (limited to 'extensions/source/propctrlr')
4 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx index bdd203cbc8a4..50dbebb419d4 100644 --- a/extensions/source/propctrlr/eformshelper.cxx +++ b/extensions/source/propctrlr/eformshelper.cxx @@ -554,7 +554,7 @@ namespace pcr sal_Int32 nNumber = 1; do { - sNewName = sBaseName + OUString::valueOf( nNumber++ ); + sNewName = sBaseName + OUString::number( nNumber++ ); } while ( xBindingNames->hasByName( sNewName ) ); Reference< XNamed > xName( xBinding, UNO_QUERY_THROW ); diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index fd3f6ce99e5e..672ab9b3e285 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -397,7 +397,7 @@ namespace pcr for ( i = 0; i < nNewCount; ++i ) { sal_Int32 nUniqueId = xStringResourceManager->getUniqueNumericId(); - OUString aPureIdStr = OUString::valueOf( nUniqueId ); + OUString aPureIdStr = OUString::number( nUniqueId ); aPureIdStr += aIdStrBase; pNewPureIds[i] = aPureIdStr; // Force usage of next Unique Id diff --git a/extensions/source/propctrlr/newdatatype.cxx b/extensions/source/propctrlr/newdatatype.cxx index 0da7a156f6fc..a61dba03d233 100644 --- a/extensions/source/propctrlr/newdatatype.cxx +++ b/extensions/source/propctrlr/newdatatype.cxx @@ -64,7 +64,7 @@ namespace pcr sal_Int32 nPostfixNumber = 1; do { - ( sInitialName = sNameBase ) += OUString::valueOf(nPostfixNumber++); + ( sInitialName = sNameBase ) += OUString::number(nPostfixNumber++); } while ( m_aProhibitedNames.find( sInitialName ) != m_aProhibitedNames.end() ); diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index e39fb9c616cc..998aade8f033 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -315,7 +315,7 @@ namespace { OUString operator()( sal_Int32 _rIntValue ) const { - return OUString::valueOf( (sal_Int32)_rIntValue ); + return OUString::number( _rIntValue ); } sal_Int32 operator()( const OUString& _rStringValue ) const { |